{% local function isKindExpandable(kind) return kind ~= "Manual" end local function isSectionEmpty(mod, sections) if type(sections) == "table" then for _, v in pairs(mod.items) do for _, section in pairs(sections) do if v.section_id == section then return false end end end else local section = sections for _, v in pairs(mod.items) do if v.section_id == section then return false end end end return true end %}