La sesión tiene Key Python 3
# Check if key exists
if session.get("key") == None:
# Do something if it doesnt exist
else:
# Do something else if it does exist
Jarett Sisk
# Check if key exists
if session.get("key") == None:
# Do something if it doesnt exist
else:
# Do something else if it does exist