code: function isInReturnStatement(node) {
              for (let currentNode = node; currentNode; currentNode = currentNode.parent) {
                  if (
                      currentNode.type === "ReturnStatement" ||
                      (currentNode.type === "ArrowFunctionExpression" && currentNode.body.type !== "BlockStatement")
                  ) {
                      return true;
                  }
              }
  
              return false;
          }
docs: Determines if a node is in a return statement
  @param {ASTNode} node - The node to be checked.
  @returns {boolean} True if the node is in a return statement.
  @private