def del_state_hook(self, state, hook):
        try:
            hooks = self._state_hooks[state]
            self._state_hooks[state] = filter(lambda x: x != hook, hooks)
        except __HOLE__:
            pass
dataset/ETHPy150Open coreemu/core/daemon/core/session.py/Session.del_state_hook