public function isAuthorized() { $this->getStatus(); return $this->result['sessionState'] === GopayHelper::AUTHORIZED; }