public boolean hasOption(String label){
  int n=findOption(label);
  if (n == -1) {
    return false;
  }
  return options[n].isAvailable;
}

public boolean hasOption ( String label ) { int n = findOption ( label ) ; if ( n == - 1 ) { return false ; } return options [ n ] . isAvailable ; }
does an argument with label exist ?
