>>> mt = {'key1' : 1}
>>> mt.get('is_rebill', 0)
0
It does not generates key error if key is not present it returns 0
>>> mt.update({'is_rebill':1})
>>> mt.get('is_rebill', 0)
1
>>> if mt.get('is_rebill', 0) == 1:
... print True
... else:
... print False
...
False