def success(self):
        i = int(self.status)
        return 200 <= i <= 299 or i in self.valid_response_codes
dataset/ETHPy150Open apache/libcloud/libcloud/common/azure.py/AzureResponse.success/original