'Returns True if the expression needs to be wrapped in brackets when
printed as part of an Add, False otherwise.  This is False for most
things.'

def _needs_add_brackets(self, expr):

    if expr.is_Relational:
        return True
    if any([expr.has(x) for x in (Mod,)]):
        return True
    return False
