Checks if the cache contains a value associated with the given key.
key
Returns true if the cache contains the key, false otherwise.
true
false
Future<bool> containsKey(String key);