Lights.on and Lights.reachable return invalid booleans

The bool returned results into an 92 and 100 for string "1" and string "0" due to being simply casted to a boolean. Changed it to use the 'boolValue' function on NSString, now works properly.