code: public boolean isLoggable(Level level) {
          if (level.intValue() < levelValue || levelValue == offValue) {
              return false;
          }
          return true;
      }
docs: Check if a message of the given level would actually be logged
  by this logger.  This check is based on the Loggers effective level,
  which may be inherited from its parent.
  
  @param   level   a message logging level
  @return  true if the given message level is currently being logged.