def __eq__(self, other):
        return isinstance(other, FractionField) and \
            self.dtype == other.dtype and self.field == other.field
Returns `True` if two domains are equivalent.
dataset/ETHPy150Open sympy/sympy/sympy/polys/domains/fractionfield.py/FractionField.__eq__