code: private static boolean contains(Object[] arr, Object obj) {
  	for (Object o : arr) {
  	    if (o.equals(obj)) return true;
  	}
  	return false;
      }
docs: Does an object array include an object.
  @param arr The array
  @param obj The object