src/Response.php
protected function isSuccess($result): bool
    {
        return ! is_null($result) ? (is_string($result) && $result === 'true') || (is_bool($result) && $result) : false;
    }
protected function isSuccess($result): bool
    {
        return ! is_null($result) ? (is_string($result) && $result === 'true') || (is_bool($result) && $result) : false;
    }
protected function isSuccess ( $ result ) : bool { return ! is_null ( $ result ) ? ( is_string ( $ result ) && $ result === 'true' ) || ( is_bool ( $ result ) && $ result ) : false ; }
Determine if the given result is success.

@param mixed $result

@return bool
Determine if the given result is success .