title: Looking for an elgant way to check if a Key exsists in a dictionary
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2784648/how-to-check-if-an-nsdictionary-or-nsmutabledictionary-contains-a-key">How to check if an NSDictionary or NSMutableDictionary contains a key?</a>  </p>
  </blockquote>
  
  
  
  <p>I can get the an array of the Keys (strings) from the dictionary then loop through it doing a string compare with the Key i want to check for and see if that dictionary contains the key I seek.</p>
  
  <p>But is there a more elegant want to check if the key exists in the dictionary?</p>
  
  <pre><code>        NSArray * keys = [taglistDict allKeys];
          for (NSString *key in keys) 
          {
             // do string compare etc
          }
  </code></pre>
  
  <p>-Code</p>