def __eq__(self, other):
        return isinstance(other, self.__class__) and (self.factory_id, self.class_id, self.version, self.field_defs) == \
                                                     (other.factory_id, other.class_id, other.version, self.field_defs)
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/serialization/portable/classdef.py/ClassDefinition.__eq__/original