/// <summary> /// Determines whether the specified id has any values in the casche at all /// </summary> /// <param name="id">The identifier.</param> /// <returns> /// <c>true</c> if if the cache has any value for the id; otherwise, <c>false</c>. /// </returns> public bool HasAnyValue(string id) { return(_cache.Any(x => x.Key.StartsWith($"{id}{_idTypeSeparator}"))); }