namespace IStation { internal sealed partial class SharedMemoryCache { /// /// Determines whether a cache entry exists in the cache /// /// the cache key to look for /// true if the supplied cache key was found public bool Contains(string key) { return _memoryCache.TryGetValue(key, out _); } } }