protected function hasError($body)
    {
        if ($this->hasAResponseMessage($body) && $this->hasProperty($this->getFirstMessage($body), 'status')) {
            $firstMessage = $this->getFirstMessage($body);

            return (int) $firstMessage['status'] !== 0;
        }

        return false;
    }