Does `!tree.isGenerator()` always mean async function in this context? Based on this PR I would say yes, but just reading the code its hard to say. A comment would help.