public function isSuccess() : bool
    {
        Assert::keyExists($this->status, "Code");

        return $this->status['Code'] === Constants::STATUS_SUCCESS;
    }
public function isSuccess() : bool
    {
        Assert::keyExists($this->status, "Code");

        return $this->status['Code'] === Constants::STATUS_SUCCESS;
    }
public function isSuccess ( ) : bool { Assert :: keyExists ( $ this -> status , "Code" ) ; return $ this -> status [ 'Code' ] === Constants :: STATUS_SUCCESS ; }
Determine whether this is a successful response.

@return bool true if the status code is success, false if not.
Determine whether this is a successful response .