def IsSuccess(self):
    """Returns True on success, False otherwise."""
    return self.status >= 200 and self.status <= 299
dataset/ETHPy150Open google/simian/src/simian/client/client.py/Response.IsSuccess/original