docs: def remove_global_exception_handler(handler):
      """remove a callback from the list of global exception handlers
  
      :param handler:
          the callback, previously added via :func:`global_exception_handler`,
          to remove
      :type handler: function
  
      :returns: bool, whether the handler was found (and therefore removed)
      """
      for i, cb in enumerate(state.global_exception_handlers):
          cb = cb()
          if cb is not None and cb is handler:
              state.global_exception_handlers.pop(i)
              log.info("removing a global exception handler")
              return True
      return False