cast result to bool