contains Key
Checks if the cache contains a non-expired entry for the given key.
Return
true if a valid entry exists
Parameters
key
the cache key
Checks if the cache contains a non-expired entry for the given key.
true if a valid entry exists
the cache key