

@staticmethod
def log(expr, assumptions):
    if ask(Q.real(expr.args[0]), im):
        if ask(Q.positive(expr.args[0]), assumptions):
            return False
        return
    if (expr.args[0].func == exp):
        if (expr.args[0].args[0] in [I, (- I)]):
            return True
    im = ask(Q.imaginary(expr.args[0]), assumptions)
    if (im is False):
        return False

dataset/ETHPy150Open sympy/sympy/sympy/assumptions/handlers/sets.py AskImaginaryHandler.log/VarMisuse@30/32 `assumptions`->`im`