Changed truelike and falselike to be more explicit in returning 1/0