title: Numpy mask based on if a value is in some other list
body: <p>I have searched high and low and just can't find a way to do it. (It's possible I was searching for the wrong terms.)</p>
  <p>I would like to create a mask (eg: <code>[True False False True True]</code>) based on whether each value is in some other list.</p>
  <pre class="lang-py prettyprint-override"><code>a = np.array([11, 12, 13, 14, 15, 16, 17])
  mask = a in [14, 16, 8] #(this doesn't work at all!)
  #I would like to see [False False False True False True False]
  </code></pre>
  <p>So far the best I can come up with is a list comprehension.</p>
  <pre class="lang-py prettyprint-override"><code>mask = [True if x in other_list else False for x in my_numpy_array]
  </code></pre>
  <p>Please let me know if you know of some secret sauce to do this with NumPy and fast (computationally), as this list in reality is huge.</p>