sympy/sympy — pull request #2176 by Manoj-Kumar-S (2013-06-14 10:51:36+00:00)
Title: Tests if a given expression is algebraic

Tests if a given expression is algebraic or not.

>>> eq = sqrt((1 + x**2)/(1 - x**2))
>>> eq.is_algebraic(x)
True

http://en.wikipedia.org/wiki/Algebraic_expression