public boolean isChecked(int index){
  return checkedIds.contains(getIdForItem(index));
}

public boolean isChecked ( int index ) { return checkedIds . contains ( getIdForItem ( index ) ) ; }
whether or not an item at a certain position is checked
