@token_auth.verify_token
def verify_token(token):
    g.user = None
    try:
        data = jwt.loads(token)
    except:
        return False
    if data in 'username':
        g.user = data['username']
        return True
    return False
dataset/ETHPy150Open miguelgrinberg/Flask-HTTPAuth/examples/multi_auth.py/verify_token/swapped operands of `in`