code: public static boolean validOptions(String[][] options, DocErrorReporter errorReporter) {
          options = new Options().load(options, errorReporter);
          if ( options != null ) {
              return Standard.validOptions(options, errorReporter);
          }
          else {
              return false;
          }
      }
docs: As specified by the Doclet specification.
  
  @param options          The command line options.
  @param errorReporter    An error reporter to print messages.
  
  @return `true` if the options are valid.
  
  @see com.sun.javadoc.Doclet#validOptions(String[][], com.sun.javadoc.DocErrorReporter)