Is there a smart pythonic way to check if there is an item (key,value) in a dict?
a={\'a\':1,\'b\':2,\'c\':3} b={\'a\':1} c={\'a\':2} b in a: --> True c
a.get('a') == 1 => True a.get('a') == 2 => False
if None is valid item:
None
{'x': None}.get('x', object()) is None