code: private static boolean hasMoreFlags(String[] args, int start, Option[] templates) {
          for (int i = start; i < args.length; i++) {
              Option template = findTemplate(args[i], templates);
  
              if (((template == null) || (!Type.LIST.equals(template.getType())))) {
                  return true;
              } else {
                  if (i == (args.length - 1)) {
                      break;
                  }
              }
          }
          return false;
      }
docs: Determines if a String array representation of option names contains an option whose name matches a FLAG_TYPE option in the supplied array of
  Option templates. The search starts from the supplied starting index and ends with the last element in <code>args[]</code>
  
  @param   args       A String array containing option names
  @param   start      The index of <code>args[]</code> at which to start comparing
  @param   templates  A list of Option templates in which to search for a match against option names
  
  @return  True if an option name in <code>args[]</code> matches an option template of type FLAG_TYPE