public boolean contains(T key) {
        return cache.containsKey(key);
    }
Returns true if there is a value for the given key in the cache.

@param key The key to check.
core/src/main/java/com/bumptech/glide/util/LruCache.java