Our Lua handler doesn't really support "true/false" returns for bools. (I don't believe there was any API that returned so when we wrote it) In most cases, we'll just return a string, or int, and compare the value. (Lua supports far too many ways to return "true" or "false" for us to handle them all. Its safer to just return a string in most cases, and do a string comparison.)
I realize we should be doing better about it, but its just due to Lua being an odd scripting language really.
False: 0, nil, false, <empty>, -1, <multiple other values>
True: 1, true, <anything not in false>