

@staticmethod
def Add(expr, assumptions):
    '\n        Imaginary + Imaginary -> Imaginary\n        Imaginary + Complex   -> ?\n        Imaginary + Real      -> !Imaginary\n        '
    if expr.is_number:
        return AskImaginaryHandler._number(expr, assumptions)
    reals = 0
    for arg in expr.args:
        if ask(Q.imaginary(arg), assumptions):
            pass
        elif ask(Q.real(arg), assumptions):
            reals += 1
        else:
            break
    else:
        if (reals == 0):
            return True
        if ((reals == 1) or (len(expr.args) == reals)):
            return False

dataset/ETHPy150Open sympy/sympy/sympy/assumptions/handlers/sets.py AskImaginaryHandler.Add/original