def has_error(self):
        """Indicates whether the response was an error response."""
        return self.status_int >= 400
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webapp2-2.5.1/webapp2.py/Response.has_error/original