def _is_locked_out(self, access_key):
        req = webob.Request.blank('/?AWSAccessKeyId=%s' % access_key)
        return (req.get_response(self.lockout).status_int == 403)
Sends a test request to see if key is locked out.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/api/ec2/test_middleware.py/LockoutTestCase._is_locked_out