public static boolean every(Object self, Closure predicate) {
        return every(InvokerHelper.asIterator(self), predicate);
    }
public static boolean every ( Object self , Closure predicate ) { return every ( InvokerHelper . asIterator ( self ) , predicate ) ; }
Used to determine if the given predicate closure is valid (i.e. returns
<code>true</code> for all items in this data structure).
A simple example for a list:
<pre>def list = [3,4,5]
def greaterThanTwo = list.every { it {@code >} 2 }
</pre>

@param self      the object over which we iterate
@param predicate the closure predicate used for matching
@return true if every iteration of the object matches the closure predicate
@since 1.0