first one, but without the ending space, just:

    if ( ! ($this->_conn instanceof PingableConnection)) {