title: Selecting from set of enum values
body: <p>I have collection of items which are having one enum property list.
  Original property looks like</p>
  
  <pre><code>public class Content {
      List&lt;State&gt; States {get; set;}
  }
  </code></pre>
  
  <p>where 'State' is enum with almost 15 options.</p>
  
  <p>While iterating collection of Content objects, I want to check it States property has certain values like State.Important and State.Updated exists in States and set another string from it.</p>
  
  <p>something like</p>
  
  <pre><code>if(item.States.Has(State.Important) &amp;&amp; item.States.Has(State.Updated))
  string toProcess = "Do";
  </code></pre>
  
  <p>How to do this using Linq or Lambda ?</p>