This needs to be changed to true/false

Rather than return 0/1 use true/false instead.