code: public boolean isLoggable(LogRecord record) {
          final int levelValue = getLevel().intValue();
          if (record.getLevel().intValue() < levelValue || levelValue == offValue) {
              return false;
          }
          final Filter filter = getFilter();
          if (filter == null) {
              return true;
          }
          return filter.isLoggable(record);
      }
docs: Check if this <tt>Handler</tt> would actually log a given <tt>LogRecord</tt>.
  <p>
  This method checks if the <tt>LogRecord</tt> has an appropriate
  <tt>Level</tt> and  whether it satisfies any <tt>Filter</tt>.  It also
  may make other <tt>Handler</tt> specific checks that might prevent a
  handler from logging the <tt>LogRecord</tt>. It will return false if
  the <tt>LogRecord</tt> is null.
  <p>
  @param record  a <tt>LogRecord</tt>
  @return true if the <tt>LogRecord</tt> would be logged.