Tests if any elements in a query statisfy a template predicate or function.
An empty query always produces true.
See Implementation
Tests if any elements in a query statisfy a template predicate or function.