code: def unhook_all():
      
      _listener.start_if_necessary()
      _listener.blocking_keys.clear()
      _listener.nonblocking_keys.clear()
      del _listener.blocking_hooks[:]
      del _listener.handlers[:]
      unhook_all_hotkeys()
docs: Removes all keyboard hooks in use, including hotkeys, abbreviations, word
      listeners, `record`ers and `wait`s.