code: private static <T> boolean containsIdentity(List<T> list, T object) {
  		for (T item : list) {
  			if (item == object) {
  				return true;
  			}
  		}
  		return false;
  	}
docs: Searches for an item in a list using reference equality.
  @param list the list
  @param object the object to search for
  @return true if the object was found, false if not