@staticmethod
    def Number(expr, assumptions):
        return not (expr.as_real_imag()[1] == 0)
dataset/ETHPy150Open sympy/sympy/sympy/assumptions/handlers/sets.py/AskImaginaryHandler.Number/original