public boolean contains ( String resource ) { boolean result = storage . contains ( resource ) ; logger . debug ( "resource '{}' {} in cache" , resource , ( result ? "is" : "is not" ) ) ; return result ; }
Checks whether the cache contains the given resource .