Check if domains match.
New in version 1.6.0.
other : class instance
The other class must have the domain attribute.
bool : boolean
True if the domains are the same, False otherwise.
numpy.polynomial.polynomial.Polynomial.has_samecoef
numpy.polynomial.polynomial.Polynomial.has_sametype