Clean up confusing testing between enum and BOOL
Clean up confusing testing between enum and BOOL

plasq/cocotron,Suninus/cocotron,ruppmatt/cocotron,Suninus/cocotron,Suninus/cocotron,crystax/android-vendor-cocotron,cneira/cocotron,crystax/android-vendor-cocotron,yuhangwang/cocotron,Suninus/cocotron,ruppmatt/cocotron,yuhangwang/cocotron,yuhangwang/cocotron,cyclaero/cocotron,ruppmatt/cocotron,gemu2015/cocotron-sierra,gemu2015/cocotron-sierra,plasq/cocotron,guestOS/guestOS,cyclaero/cocotron,JackLian/cocotron,cjwl/cocotron,cneira/cocotron,cyclaero/cocotron,cneira/cocotron,ruppmatt/cocotron,gemu2015/cocotron-sierra,cjwl/cocotron,plasq/cocotron,plasq/cocotron,guestOS/guestOS,JackLian/cocotron,JackLian/cocotron,yuhangwang/cocotron,guestOS/guestOS,cneira/cocotron,gemu2015/cocotron-sierra,guestOS/guestOS,cjwl/cocotron,crystax/android-vendor-cocotron,cjwl/cocotron,cyclaero/cocotron,JackLian/cocotron,crystax/android-vendor-cocotron