@staticmethod
    def Add(expr, assumptions):
        if expr.is_number:
            if expr.as_real_imag()[1]:
                return False
        return test_closed_group(expr, assumptions, Q.rational)
Create a new Guest
dataset/ETHPy150Open sympy/sympy/sympy/assumptions/handlers/sets.py/AskRationalHandler.Add--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/guest.py/Guest.create