title: Python: How to know if two dictionary have the same keys
body: <pre><code>dic1 = {'a':'a','b':'c','c':'d'}
  dic2 = {'b':'a','a':'c','c':'d'}
  
  dic1.keys()    =&gt;['a', 'b', 'c']
  dic2.keys()    =&gt;['b', 'a', 'c']
  </code></pre>
  
  <p>dic1 and dic2 have the same keys, but in different order.</p>
  
  <p>How to tell they have same keys(do not consider the order)?</p>