code: def check_level(logging_stmt, logging_stmt_is_commented_out, min_level_value, max_level_value):
      
      level = get_logging_level(logging_stmt, logging_stmt_is_commented_out)
      if level is None:
          logging.warning('skipping logging statement because the level could not be extracted: %s' % logging_stmt.strip())
          return False
      elif level is False:
          return False
      elif level_is_between(level, min_level_value, max_level_value):
          return True
      else:
          logging.debug('keep this one as is (not in the specified level range): %s' % logging_stmt.strip())
          return False
docs: Extracts the level of the logging statement and returns True if the
      level falls betwen min and max_level_value.  If the level cannot be
      extracted, then a warning is logged.