code: def remove_logging_handler(handler, logger=None):
      
  
      logger = LOGGER if logger is None else logger
      logger.handlers and LOGGER.debug("> Stopping handler: '{0}'.".format(handler))
      logger.removeHandler(handler)
      return True
docs: Removes given logging handler from given logger.
  
      :param handler: Handler.
      :type handler: Handler
      :param logger: Handler logger.
      :type logger: Logger
      :return: Definition success.
      :rtype: bool