def __eq__(self, other):
        """Check for equality with another Timestamp object"""
        if type(other) is self.__class__:
            return (
                self.seconds == other.seconds and self.nanoseconds == other.nanoseconds
            )
        return False
Check for equality with another Timestamp object
product/gradle-plugin/src/main/python/pip/_vendor/msgpack/ext.py