function checkLoop(node) {
			if (checkLoops === "all" || checkLoops === "allExceptWhileTrue") {
				trackConstantConditionLoop(node);
			}
		}
Checks node when checkLoops option is enabled
@param {ASTNode} node The AST node to check.
@returns {void}
@private