def has_error(self):
    return self.status >= 400
Indicates whether the response was an error response.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/webapp/mock_webapp.py/MockResponse.has_error