public static boolean contains(@Nullable char[] array, char value) {
    if (array == null) return false;
    for (char element : array) {
      if (element == value) {
        return true;
      }
    }
    return false;
  }
Test if any {@code check} items are contained in {@code array}.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/ArrayUtils.java