function node_function(node)
	-- Test both variants of the Holds function
	-- Test Holds(key) - check if tag exists
	local holds_key_global = Holds("power")
	local holds_key_method = node:holds("power")
	
	-- Test Holds(key, value) - check if tag exists with specific value
	local holds_key_value_global = Holds("power", "generator")
	local holds_key_value_method = node:holds("power", "generator")
	
	-- Both variants should return the same results
	if holds_key_global == holds_key_method and holds_key_value_global == holds_key_value_method then
		-- If power=generator exists, add to layer
		if holds_key_value_global then
			Layer("test_holds")
			Attribute("has_power", tostring(holds_key_global))
			Attribute("is_generator", tostring(holds_key_value_global))
		end
	end
end
