<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def worth(what, level_name):
 """Returns `True` if the watcher `what` would log under `level_name`."""

    return (logging.NOTSET
            < globals()[what].level
            <= getattr(logging, level_name))