public static bool? IsUserInRoom(this ICache cache, ChatUser user, ChatRoom room) { string key = CacheKeys.GetUserInRoom(user, room); return (bool?)cache.Get(key); }