def _is_sum_surds(p):
    args = p.args if p.is_Add else [p]
    for y in args:
        if not ((y**2).is_Rational or y.is_real):
            return False
    return True
dataset/ETHPy150Open sympy/sympy/sympy/simplify/simplify.py/_is_sum_surds/operator `and` -> `or`