public boolean isCached(String requestUrl,int maxWidth,int maxHeight){
  throwIfNotOnMainThread();
  String cacheKey=getCacheKey(requestUrl,maxWidth,maxHeight);
  return mCache.getBitmap(cacheKey) != null;
}

public boolean isCached ( String requestUrl , int maxWidth , int maxHeight ) { throwIfNotOnMainThread ( ) ; String cacheKey = getCacheKey ( requestUrl , maxWidth , maxHeight ) ; return mCache . getBitmap ( cacheKey ) != null ; }
checks if the item is available in the cache .
