title: How to check if all or any element in a groovy list meet a condition
body: <p>I have an array or list, <code>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]</code>, say. How do I check that <code>ALL or ANY</code> of the elements in this list meet a given condition? For example, how do I check that <code>ALL</code> these elements are greater than 0 or <code>ANY</code> element is a multiple of 5? </p>