You can return early here

    if (isset($this->_Memcached)) {
        return true;
    }