def cookie_is_encoded(data):
    return bool(data.startswith(tob('!')) and tob('?') in data)
Return True if the argument looks like a encoded cookie.
dataset/ETHPy150Open Arelle/Arelle/arelle/webserver/bottle.py/cookie_is_encoded