/// <summary> /// True if the specified userId exists in the KeyStore. /// </summary> /// <param name="userId">UserId to search for.</param> /// <returns>True if found; otherwise false.</returns> public bool KeyExists(string userId) { return(_keyStore.ContainsKey(userId)); }