public function checkConnection() { $connection = false; if ($this->_server != null) { $connection = true; } return $connection; }