def _is_Expr(e):
    if not isinstance(e, Expr):
        return False
    return all(_is_Expr(i) for i in e.args)
Test the sending of data.
dataset/ETHPy150Open sympy/sympy/sympy/simplify/trigsimp.py/_is_Expr--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/test_graphite.py/TestGraphite.test_send_to_graphite