one-liner to check if at least one item in list exists in another list?
<p>Lets say I have a list
<code>a=[1,2,3]</code>
And I want to know if at least one of the numbers in it exist in another list, like this one:
<code>b=[4,5,6,7,8,1]</code>
In other words, I want to know if 1,2 or 3 exist(s) in list <code>b</code>.
I now I could do something like</p>

<pre><code>def func(a, b):
    for i in a:
       if i in b:
          return True
    return False
</code></pre>

<p>But is there possibly a way to put that in one line to make things tidy?</p>
