cast return to bool