"filter" functionality for 'when:' conditional

When running a task with multiple items using ‘with_items’, the results are registered in a variable under ‘results’ as a list. Is there any way to apply a filter such as ‘any’ or ‘all’ to that list in a conditional on the next task’s execution? The only way I can do something currently is to perform the following task several times (once for every item in the list that evaluates as true for my condition). I’d rather not notify a handler, because the following tasks depend on this task being evaluated.

simple example I just made up to illustrate what I want:

i think this is the droid you are looking for:
http://jinja.pocoo.org/docs/dev/templates/#map

Thanks so much for your help, Brian! I’ll try to RTFM next time.

Patrick