public boolean hasOption(int number){
  return Collections.binarySearch(asSortedList(),new Option(number)) >= 0;
}

public boolean hasOption ( int number ) { return Collections . binarySearch ( asSortedList ( ) , new Option ( number ) ) >= 0 ; }
checks if an arbitrary option is present .
