Boolean VS Boolean Object

Booleans and Boolean objects cannot be safely compared: