return bool from the obj-c backend to c++