title: Check if array of objects contains a string
body: <p>I have an array of <code>UILocalNotification</code>s. In each notification there is a <code>userInfo</code> property which is a <code>NSDictionary</code>. In the userInfo I set a key <code>@"ID"</code> and the value is a unique ID.</p>
  
  <p>So what I want to do is check if the array of notifications if any userInfo property has a value <code>@"test"</code> for key <code>@"ID"</code> then return <code>YES</code> otherwise <code>NO</code>. I know how to achieve this with a for loop but I'm wondering if there might be a more elegant way to do it.</p>