Converting boolean to bool