contains Key
Checks if the cache contains data associated with the provided key.
Return
true
if the cache contains data associated with the key, false
otherwise.
Parameters
key
The key to check for in the cache.
Checks if the cache contains data associated with the provided key.
true
if the cache contains data associated with the key, false
otherwise.
The key to check for in the cache.