def __eq__(self, other):
        """Return whether the other instance equals the current."""
        return (isinstance(other, RedditContentObject) and
                self.fullname == other.fullname)
Return whether the other instance equals the current.
rtv/packages/praw/objects.py