def METHOD_NAME(self, *args, **kwargs):
    """Does this rrset match the specified attributes?
    Behaves as :py:func:`full_match()` if the first argument is a
    ``dns.name.Name``, and as :py:func:`dns.rdataset.Rdataset.match()`
    otherwise.
    (This behavior fixes a design mistake where the signature of this
    method became incompatible with that of its superclass.  The fix
    makes RRsets matchable as Rdatasets while preserving backwards
    compatibility.)
    """
    if isinstance(args[0], dns.name.Name):
        return self.full_match(*args, **kwargs)
    else:
        return super().METHOD_NAME(*args, **kwargs)