code: def worth(what, level_name):
      
      return (logging.NOTSET
              < globals()[what].level
              <= getattr(logging, level_name))
docs: Returns `True` if the watcher `what` would log under `level_name`.