code: public static <T> boolean contains(T needle, T...hayStack)
  	{
  		if(needle == null)
  			return containsNull(hayStack);
  		if(hayStack == null)
  			return false;
  		for(T hay : hayStack)
  			if(needle.equals(hay))
  				return true;
  		return false;
  	}
docs: Does an array contain a value.
  @param needle The value to look for. This can be null.
  @param hayStack The array to look for the value in.
  @return true if the value was found in the array. false if it was not or hayStack was null.