function DataStoreStage.HasWritableData(M)if M._dataToSave then return true end for M,c in pairs(M._stores)do if not c.Destroy then warn(("\091\068\097\116\097\083\116\111\114\101\083\116\097\103\101\093 - \083\117\098\115\116\111\114\101 \037\113 \100\101\115\116\114\111\121\101\100"):format(M))continue end if c:HasWritableData()then return true end end return false end

function DataStoreStage:HasWritableData()
	if self._dataToSave then
		return true
	end

	for name, store in pairs(self._stores) do
		if not store.Destroy then
			warn(("[DataStoreStage] - Substore %q destroyed"):format(name))
			continue
		end

		if store:HasWritableData() then
			return true
		end
	end

	return false
end
