Search for value in dictionary?
<p>So say I have a dictionary, users, and it has another dictionary named after their uid and contains information like emails, names, etc. Say I want to search for their name, and want to get their uid. Any sane way to do it? </p>

<p>An example of the dictionary structure:</p>

<pre><code>users = {1: {"name": "John Doe", "email": "johndoe@gmail.com"},
         2: {"name": "Jane Doe", "email": "janedoe@gmail.com"}}
</code></pre>
