def METHOD_NAME(self):
    """Determine if `__repr_attrs__` is defined somewhere in the MRO."""
    # NOTE: This helper function makes sure that an AttributeError is not
    # raised when `super().__init__` is called inside another `__init__`.
    mro = self.__class__.__mro__[1:]  # MRO excluding this class
    for cls in mro:
        if hasattr(cls, "__repr_attrs__"):
            return True
    return False