Unit.
is_comparable
Return True if self can be computed to a real number with precision, else False.
Examples
>>> from sympy import exp_polar, pi, I >>> (I*exp_polar(I*pi/2)).is_comparable True >>> (I*exp_polar(I*pi*2)).is_comparable False