public boolean hasArgument(String arg){
  return arguments.contains(arg);
}

public boolean hasArgument ( String arg ) { return arguments . contains ( arg ) ; }
checks whether the specified argument is present in this command line or not .
