title: How to check if all of the following items are in a list?
body: <p>I found, that there is related question, about how to find if at least one item exists in a list:<br>
  <a href="https://stackoverflow.com/questions/740287/python-check-if-one-of-the-following-items-is-in-a-list">How to check if one of the following items is in a list?</a></p>
  
  <p>But what is the best and pythonic way to find whether all items exists in a list?</p>
  
  <p>Searching through the docs I found this solution:</p>
  
  <pre><code>&gt;&gt;&gt; l = ['a', 'b', 'c']
  &gt;&gt;&gt; set(['a', 'b']) &lt;= set(l)
  True
  &gt;&gt;&gt; set(['a', 'x']) &lt;= set(l)
  False
  </code></pre>
  
  <p>Other solution would be this:</p>
  
  <pre><code>&gt;&gt;&gt; l = ['a', 'b', 'c']
  &gt;&gt;&gt; all(x in l for x in ['a', 'b'])
  True
  &gt;&gt;&gt; all(x in l for x in ['a', 'x'])
  False
  </code></pre>
  
  <p>But here you must do more typing.</p>
  
  <p>Is there any other solutions?</p>