def is_generator(self):
return next(self._get_yield_nodes_skip_lambdas(), False)<EOL>
Check if this is a generator function.

        :returns: True is this is a generator function, False otherwise.
        :rtype: bool