@Override
  public synchronized boolean contains(K key) {
    return mCachedEntries.contains(key);
  }
Check if an item with the given cache key is currently in the cache.

@param key returns true if an item with the given key matches
@return true is any items matches from the cache
imagepipeline-base/src/main/java/com/facebook/imagepipeline/cache/LruCountingMemoryCache.java