public boolean contains(T item){
  return mItems != null && mItems.contains(item);
}

public boolean contains ( T item ) { return mItems != null && mItems . contains ( item ) ; }
check if the searched item is in the adapter
