title: How can I check if a key exists in a dictionary?
body: <p>Let's say I have an associative array like so: <code>{'key1': 22, 'key2': 42}</code>.</p>
  
  <p>How can I check if <code>key1</code> exists in the dictionary?</p>