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

        if not isinstance(other, KillChainPhase):
            return False

        return other.to_dict() == self.to_dict()
dataset/ETHPy150Open STIXProject/python-stix/stix/common/kill_chains/__init__.py/KillChainPhase.__eq__/operator `is` -> `is not`