import javascript query predicate test_isGenerator(Function f) { f.isGenerator() }