

@staticmethod
def _number(expr, assumptions):
    i = expr.as_real_imag()[1].evalf(2)
    if (i._prec != 1):
        return (not i)

dataset/ETHPy150Open sympy/sympy/sympy/assumptions/handlers/sets.py AskRealHandler._number/original