class_docstr: A file like object that publishes the stream to a 0MQ PUB socket.
  
  Output is handed off to an IO Thread
class_docstr_tok: ["A","file","like","object","that","publishes","the","stream","to","a","0MQ","PUB","socket",".","Output","is","handed","off","to","an","IO","Thread"]
docstr: Un-registers a hook with the thread-local storage.
  
  Parameters
  ----------
  hook : Any callable object which has previously been
      registered as a hook.
  
  Returns
  -------
  bool - `True` if the hook was removed, `False` if it wasn't
      found.
code: def unregister_hook(self, hook):
      """
      Un-registers a hook with the thread-local storage.
  
      Parameters
      ----------
      hook : Any callable object which has previously been
          registered as a hook.
  
      Returns
      -------
      bool - `True` if the hook was removed, `False` if it wasn't
          found.
      """
      try:
          self._hooks.remove(hook)
          return True
      except ValueError:
          return False
  
imports: import asyncio
  import atexit
  import io
  import os
  import sys
  import threading
  import traceback
  import warnings
  from binascii import b2a_hex
  from collections import deque
  from io import StringIO, TextIOBase
  from threading import local
  from typing import Any, Callable, Deque, Dict, Optional
  import zmq
  from jupyter_client.session import extract_header
  from tornado.ioloop import IOLoop
  from zmq.eventloop.zmqstream import ZMQStream
label_desc: Use image node_id 20 for calling the OutStream obj's underlying member method code with example usage: obj.unregister_hook(hook) and returns: True, False