def equals(x):
    """A required method of the interface.

        .. note::

           The argument `self` is not specified as part of the interface and
           should be omitted, even though it is required in the implementation.
        """
