def _check_odd_rewrite(func, arg):
 return func(arg).func.is_Mul

def _check_odd_rewrite ( func , arg ) : return func ( arg ) . func . is_Mul
checks that the expr has been rewritten using f -> -f(x) arg : -x .