title: How to check if dictionary contains a bool values in Swift iOS?
body: <p>Like in objective c I write:</p>
  
  <pre><code>if([[dictionary objectForKey:@"myKey"] boolValue])
  {
      // action after condition is true
  }
  </code></pre>
  
  <p>How do we write this in Swift? I have'nt been able to figure this out.</p>