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