title: matching dictionary in python
body: <p>How to check dictionary d1 is exist in d2 in python?</p>
  
  <pre><code>d1 = {u'from':{u'dn':'topology/pod-1/node-101'}}
  d2 = {u'faults': [{u'count': 1, u'pos': {u'y': 339, u'x': 860}, u'level': u'critical'}], u'from': {u'dn': u'topology/pod-1/node-101', u'type': u'leaf'}, u'to': {u'dn': u'topology/pod-1/node-104', u'type': u'spine'}}
  </code></pre>