Use bool

Change-Id: I2d06ae03650b318a1318d0e2b026352e22404fdd