Checks if the cache contains an entry for the given key.
key
Delegates to the underlying platform-specific Cache implementation.
Future<bool> contains(String key) => _cache.contains(key);