exists method
Implementation
Future<bool> exists(String key) {
return _lock.synchronized(() async {
await _initialize();
_checkNotClosed();
_validateKey(key);
final entry = _lruEntries[key];
if (entry == null) return false;
return entry.exists();
});
}