The isDisconnected() method must return a boolean.

In some rare cases, $this->_disconnect can be set to null instead of a
boolean (it appears when the connection is shutdown unproperly). So we
force to compute a boolean.