title: How should I compare values in two lists?
body: <p>I have two lists</p>
  
  <pre><code>List 01 =&gt; { A, B, C, D, E }
  List 02 =&gt; { F, F, F, F, E }
  </code></pre>
  
  <p>I need to check if one element of <code>List 02</code> exists in <code>List 01</code>, so the following should be <code>false</code>.</p>
  
  <pre><code>List 01 =&gt; { A, B, C, D, E }
  List 02 =&gt; { F, F, F, F, F } // no element matches
  </code></pre>
  
  <p>And here it should be <code>true</code>.</p>
  
  <pre><code>List 01 =&gt; { A, B, C, D, E }
  List 02 =&gt; { F, F, F, F, B } // last element matches
  </code></pre>
  
  <p>How can I check that?</p>
  
  <p>I'm concerned about <strong>performance</strong> as well.</p>