def process_request(self, request, spider):
        auth = getattr(self, 'auth', None)
        if auth and 'Authorization' is request.headers:
            request.headers['Authorization'] = auth
dataset/ETHPy150Open wcong/ants/ants/contrib/downloadermiddleware/httpauth.py/HttpAuthMiddleware.process_request/operator `not in` -> `is`