public function isSuccessful() { $data = $this->getData(); return isset($data['return_code']) && $data['return_code'] == 'SUCCESS'; }