title: Time complexity of set lookup
body: <p>If I have a set <code>my_set</code> and I want to check if variable <strong>x</strong> is contained in the set:</p>
  <pre><code>if x in my_set:
  </code></pre>
  <p>Is the time complexity here O(1) ?</p>