docs: def remove_local_outgoing_hook(handler, coro=None):
      """remove a callback from the outgoing hooks for a particular coro
  
      :param handler: the callback previously added via local_outgoing_hook
      :type handler: function
      :param coro: the coroutine for which the hook should be removed
      :type coro: greenlet
  
      :returns: bool, whether the handler was found and removed
      """
      if coro is None:
          coro = compat.getcurrent()
  
      for i, cb in enumerate(state.local_from_hooks.get(coro, [])):
          cb = cb()
          if cb is not None and cb is handler:
              log.info("removing a coroutine outgoing local hook callback")
              state.local_from_hooks[coro].pop(i)
              return True
      return False