def remove_effect_handle(self, handle):
        """
        Remove given handle

        :param handle: handle to remove
        :type handle: EffectHandle
        """
        assert handle is not None

        for key, value in self.handles.items():
            if value in handle:
                value.remove(handle)
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/data/effects/effectscollection.py/EffectsCollection.remove_effect_handle/swapped operands of `in`