def as_relational(self, symbol):
        return Or(*[set.as_relational(symbol) for set in self.args])
Rewrite a Union in terms of equalities and logic operators.
dataset/ETHPy150Open sympy/sympy/sympy/sets/sets.py/Union.as_relational