title: How to check if any of the elements satisfy a condition?
body: <p>Is there any way to check if any of the elements in my selector satisfies a specific condition?</p>
  
  <p>Currently I use:</p>
  
  <pre><code>var isSatisfied = false;
  $("#myUL li").each(function() {
      if($(this).data("myconditon") === true) {
          isSatisfied = true;
      }
  });
  // Use isSatisfied here
  </code></pre>
  
  <p>This seems overly complex to do a simple job. 
  What I'm looking for is something like <a href="http://msdn.microsoft.com/en-us/library/bb337697%28v=vs.110%29.aspx" rel="nofollow">Enumerable.Any</a> in C#.</p>