def __eq__(self, other):
        return isinstance(other, QuotientRing) and \
            self.ring == other.ring and self.base_ideal == other.base_ideal
Returns `True` if two domains are equivalent.
dataset/ETHPy150Open sympy/sympy/sympy/polys/domains/quotientring.py/QuotientRing.__eq__