title: How to check if element in groovy array/hash/collection/list?
body: <p>How do I figure out if an array contains an element? 
  I thought there might be something like <code>[1, 2, 3].includes(1)</code> which would evaluate as <code>true</code>.</p>