def IsRedirect(self):
    """Returns True on redirect, False otherwise."""
    return self.status >= 300 and self.status <= 399
dataset/ETHPy150Open google/simian/src/simian/client/client.py/Response.IsRedirect/original