/** * @return bool */ public function TestConnection() { $res = $this->client->options_ex(); $this->isCustomServer = $res['custom-server']; return true; }