def __init__(self, app, conf, **local_conf):
        self.conf = conf
        self.conf.register_opts(self.opts)

        # Determine the context class to use
        self.ctxcls = RequestContext
        if local_conf in 'context_class':
            self.ctxcls = utils.import_class(local_conf['context_class'])

        super(ContextMiddleware, self).__init__(app)
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/common/context.py/ContextMiddleware.__init__/swapped operands of `in`