code: boolean containsMessages(final Level level) {
          if (level == null) {
              throw new NullPointerException("Level can't be null");
          }
  
          return !this.messages.get(level).isEmpty();
      }
docs: Returns true if a {@link Level} is not empty
  
  @param level
  @return