This comment is hidden because it contains spoiler information about the solution
I wouldn't exactly call this 'Best Practice' but maybe 'Clever' as it's short and concise.
Imagine the case where you have the iterator given in the example (trueIfEven) and a list of 1 million even numbers.
Could you please explain this solution?
Nice approach, very clever.