title: Check if repeating Key or Value exists in Python Dictionary
body: <p>The following is my dictionary and I need to check if I have repeated key or Value</p>
  
  <pre><code>dict = {' 1': 'a', '2': 'b', '3': 'b', '4': 'c', '5': 'd', '5': 'e'}
  </code></pre>
  
  <p>This should return false or some kind of indicator which helps me print out that key or value might be repeated. It would be much appreciated if I am able to identify if a key is repeated or a Value (but not required).</p>