returnfunction() -- Store a string with the class name localclassName = "Display" -- Check if the class exists and then provide proper feedback ifClassExists(className) then Printf("The class '%s' exists", className) else Printf("The class '%s' does not exists", className) end end