def deregister_hook(self, event, hook):
try:<EOL><INDENT>self.hooks[event].remove(hook)<EOL>return True<EOL><DEDENT>except ValueError:<EOL><INDENT>return False<EOL><DEDENT>
Deregister a previously registered hook.
        Returns True if the hook existed, False if not.