Get boolean type working

Signed-off-by: Daniel Francis <francis@sugarlabs.org>