public async Task <bool> IsExistsAsync(string key) { if (_cache.ContainsKey(key)) { return(true); } return(await _stateStoreImplementation.IsExistsAsync(key)); }