Solution:
You can use either dict.values() or dict.get() you want. The dict.values() function returns a boolean type answer. On the other hand, the .get(key) function returns none if the key is not available in the dictionary.
Let’s check with your given dictionary
>>> dict = {'1': 'one', '3': 'three', '2': 'two', '5': 'five', '4': 'four'}
>>> 'five' in dict.values()
True
and
>>> dict = {'1': 'one', '3': 'three', '2': 'two', '5': 'five', '4': 'four'}
>>> dict.get('5')
'five'
I guess these sample codes snippet will make you feel understood.
For better understandings check THIS.
Thanks.