public function isOk() { return $this->errno == 0 && intval($this->http_code) >= 200 && intval($this->http_code) < 300; }