def success(self):
        if self.status == 403:
            raise InvalidCredsError('Invalid credentials', self.driver)
        if self.status == 401:
            raise InvalidCredsError('API Key has insufficient rights',
                                    self.driver)
        if not self.body:
            return None
        try:
            return self.parse_body()['status'] == 'success'
        except __HOLE__:
            raise MalformedResponseError('Malformed reply',
                                         body=self.body,
                                         driver=self.driver)
dataset/ETHPy150Open apache/libcloud/libcloud/common/gogrid.py/GoGridResponse.success