public bool IncludeItemInGameList(int id, AppTypes scheme) { if (Games.ContainsKey(id)) { return(scheme.HasFlag(Games[id].AppType)); } return(scheme.HasFlag(AppTypes.Unknown)); }