

@staticmethod
def Basic(expr, assumptions):
    _real = ask(Q.real(expr), assumptions)
    if _real:
        _rational = ask(Q.rational(expr), assumptions)
        if (_rational is None):
            return None
        return (not _rational)
    else:
        return _real

dataset/ETHPy150Open sympy/sympy/sympy/assumptions/handlers/sets.py AskIrrationalHandler.Basic/original