function isForLoop(block) {
	return (
		block.type === "ForInStatement" ||
		block.type === "ForOfStatement" ||
		block.type === "ForStatement"
	);
}
Checks whether or not a given node is a for loop.
@param {ASTNode} block A node to check.
@returns {boolean} `true` when the node is a for loop.