question: public synchronized boolean containsKey ( CacheKey key ) { Preconditions . checkNotNull ( key ) ; if ( ! mMap . containsKey ( key ) ) { return false ; } EncodedImage storedEncodedImage = mMap . get ( key ) ; synchronized ( storedEncodedImage ) { if ( ! EncodedImage . isValid ( storedEncodedImage ) ) { mMap . remove ( key ) ; FLog . w ( TAG , "Found closed reference %d for key %s (%d)" , System . identityHashCode ( storedEncodedImage ) , key . toString ( ) , System . identityHashCode ( key ) ) ; return false ; } return true ; } }
target:  Determine if an valid entry for the key exists in the staging area.