public static boolean contains(Object objectToFind, Object... array) {
		if (array != null && array.getClass().getComponentType().isInstance(objectToFind)) {
			for (int i = 0; i < array.length; i++) {
				if (objectToFind.equals(array[i])) {
					return true;
				}
			}
		}
		return false;
	}