Member predicate Function::isGenerator

Holds if this function is a generator function.

predicate isGenerator()