public static boolean contains(char[] array, char valueToFind) {
        return indexOf(array, valueToFind) != INDEX_NOT_FOUND;
    }
<p>Checks if the value is in the given array.</p>

<p>The method returns {@code false} if a {@code null} array is passed in.</p>

@param array  the array to search through
@param valueToFind  the value to find
@return {@code true} if the array contains the object
@since 2.1
android/android_framework/base/src/main/java/lang3/ArrayUtils.java