code: def disable_logger(logger_name: str, propagate: bool = False):
      
      log = logging.getLogger(logger_name)
      log.propagate = propagate
      for handler in log.handlers:
          log.removeHandler(handler)
docs: Disable output for the logger of the specified name.