code: public function isRedirect()
      {
          if ($this->getResultCode() !== 1) {
              return false;
          }
  
          $redirect = $this->data->query('/Message/Body/Order/RedirectURL');
          if ($redirect->size()) {
              return true;
          }
  
          return false;
      }
docs: Is redirect
  @return string|bool