private bool ParseCategoryGateId(PgDirectedGoal item, object value, Dictionary <string, object> contentTable, string parsedFile, string parsedKey)
        {
            if (contentTable.ContainsKey("IsCategoryGate"))
            {
                return(Program.ReportFailure(parsedFile, parsedKey, "Directed Goal is a Category Gate when it points to another"));
            }

            if (!(value is int AsInt))
            {
                return(Program.ReportFailure(parsedFile, parsedKey, "Int value expected for a Category Gate ID"));
            }

            return(Inserter <PgDirectedGoal> .SetItemById((PgDirectedGoal valueDirectedGoal) => item.CategoryGate_Key = valueDirectedGoal.Key, AsInt));
        }