def __eq__(self, other):
        if self is other:
            return True

        if not isinstance(other, self.__class__):
            return False

        return other.to_dict() == self.to_dict()
dataset/ETHPy150Open STIXProject/python-stix/stix/common/kill_chains/__init__.py/KillChain.__eq__/original