public boolean isSelected(int position){
  return selectedItems.contains(Integer.valueOf(position));
}

public boolean isSelected ( int position ) { return selectedItems . contains ( Integer . valueOf ( position ) ) ; }
indicates if the item , at the provided position , is selected .
