namespace IStation { internal sealed partial class SharedMemoryCache { /// /// See if the cache contains a specific cache key /// /// the cache key to look for /// true if the supplied cache key was found public bool HasKey(string key) { if (key == null) return default; return _memoryCache.TryGetValue(key, out _); } } }