code: private boolean isNamedParam(String arg) {
          return arg.startsWith("--") && (arg.indexOf('=') > 2 && validFirstChar(arg.charAt(2)));
      }
docs: Returns true if the specified string is a named parameter of the
  form: --name=value
  
  @param arg the string to check
  @return true if the string matches the pattern for a named parameter.