I've got a Python dictionary, as follows:
users = {'user': {'pw': 'password'}}
How do I check if the value exist in the dictionary?
I would receive a false in the following if statement:
if 'password' in users:
return 'true'
else:
return 'false'