def add_effect_handle(self, handle):
        """
        Add effect handle

        :param handle: effect handle to add
        :type handle: EffectHandle
        """
        assert handle is not None

        handles = self.handles
        trigger = handle.trigger

        if not handles in trigger:
            handles[trigger] = []
        handles[trigger].append(handle)
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/data/effects/effectscollection.py/EffectsCollection.add_effect_handle/swapped operands of `in`