title: Is there a better way of calling LINQ Any + NOT All?
body: <p>I need to check if a sequence has any items satisfying some condition but at the same time NOT all items satisfying the same condition.</p>
  
  <p>For example, for a sequence of 10 items I want to have TRUE if the sequence has at least one that satisfy the condition but not all:</p>
  
  <ul>
  <li>10 items satisfying, 0 items not, result is FALSE</li>
  <li>0 items satisfying, 10 items not, result is FALSE</li>
  <li>1 item satisfying, 9 items not, result is TRUE</li>
  <li>9 items satisfying, 1 item not, result is TRUE</li>
  </ul>
  
  <p>I know I could to this:</p>
  
  <pre><code>mySequence.Any (item =&gt; item.SomeStatus == SomeConst) &amp;&amp; !mySequence.All (item =&gt; item.SomeStatus == SomeConst)
  </code></pre>
  
  <p>But this is not optimal.</p>
  
  <p>Is there a better way?</p>