public boolean containsKey(@Nullable Object key) {
        return indexOfKey(key) >= 0;
    }
Check whether a key exists in the array.

@param key The key to search for.
@return Returns true if the key exists, else false.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/collection/SimpleArrayMap.java