public static bool IsAchieved(this TrackableDictionary<int, UserAchievement> dict, AchievementKey key) { UserAchievement ach; return dict.TryGetValue((int)key, out ach) && ach.AchieveTime.HasValue; }