Returns true if any element matches the given predicate.
predicate
bool any(bool Function(E element) predicate) { for (final element in this) { if (predicate(element)) return true; } return false; }