function markReturnStatementPresent(node) {
      components.set(node, {
        hasReturnStatement: true,
      });
    }
Mark a return statement as present
@param {ASTNode} node The AST node being checked.