def ContextProcessor(request):
    if request.COOKIES not in 'conn':
        conn_id = None
    else:
        conn_id = int(request.COOKIES['conn'])
    return {'connections':settings.BEANSTALK_SERVERS,'conn_id':conn_id}
dataset/ETHPy150Open andreisavu/django-jack/jack/beanstalk/multiple_beanstalk.py/ContextProcessor/swapped operands of `not in`