public boolean containsItem(E item){
  return mItems.contains(item);
}

public boolean containsItem ( E item ) { return mItems . contains ( item ) ; }
checks if the adapter contains the provided item . ensure that custom objects implement equals ( ) and hashcode ( ) in order for this to work reliably !
