(self)
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
Return True if self can be computed to a real number
        with precision, else False.
Return True if self can be computed to a real number with precision else False .
def is_comparable(self):
        """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
        """
        is_real = self.is_real
        if is_real is False:
            return False
        is_number = self.is_number
        if is_number is False:
            return False
        if is_real and is_number:
            return True
        n, i = [p.evalf(2) for p in self.as_real_imag()]
        if not i.is_Number or not n.is_Number:
            return False
        if i:
            # if _prec = 1 we can't decide and if not,
            # the answer is False so return False
            return False
        else:
            return n._prec != 1
def is_comparable ( self ) : is_real = self . is_real if is_real is False : return False is_number = self . is_number if is_number is False : return False if is_real and is_number : return True n , i = [ p . evalf ( 2 ) for p in self . as_real_imag ( ) ] if not i . is_Number or not n . is_Number : return False if i : # if _prec = 1 we can't decide and if not, # the answer is False so return False return False else : return n . _prec != 1