private static boolean isCommandClass(String cmd) {
    return COMMANDS.containsKey(cmd) || isCustomTestClass(cmd);
  }
Validates opts after all the opts are parsed, so that caller need not to maintain order of opts
hbase-diagnostics/src/main/java/org/apache/hadoop/hbase/PerformanceEvaluation.java