public final boolean checkTag(int identifier){
  return Arrays.binarySearch(identifiers[0],identifier) >= 0;
}

public final boolean checkTag ( int identifier ) { return Arrays . binarySearch ( identifiers [ 0 ] , identifier ) >= 0 ; }
tests whether one of choice alternatives has the same identifier or not .
