public function isConnected() { return isset($this->nodeId) && $this->getCurrentNode()->isConnected(); }
/** * Tells if connection is established * * @return bool Success */ public function isConnected() { return $this->connectionManager->isConnected(); }