private boolean isNamedParam(String arg){
  return arg.startsWith("--") && (arg.indexOf('=') > 2 && validFirstChar(arg.charAt(2)));
}

private boolean isNamedParam ( String arg ) { return arg . startsWith ( "--" ) && ( arg . indexOf ( '=' ) > 2 && validFirstChar ( arg . charAt ( 2 ) ) ) ; }
returns true if the specified string is a named parameter of the form : - - name = value
