function isReturningNode(node) {
	return (node && node.type === Syntax.ReturnStatement)
		|| (node && node.type === Syntax.ExpressionStatement && node.expression.type === Syntax.YieldExpression)
		|| isArrowFuncExpression(node);
}
Checks whether the node is of a "returning" type.

@param {Node} node A statement node
@returns {boolean} Whether the node is a return stmt or a yield expression statement