code: private boolean contains(String ids[], String id) {
  	for (int i = 0; i < ids.length; i++) {
  	    if (Operator.compare(ids[i], id) == 0) return true;
  	}
  	return false;
      }
docs: checks if a String Array (ids) has one element that is equal to id
  
  @param ids
  @param id
  @return has element found or not