code: function isEndOfArrowBlock(lastToken) {
              if (!astUtils.isClosingBraceToken(lastToken)) {
                  return false;
              }
              const node = sourceCode.getNodeByRangeIndex(lastToken.range[0]);
  
              return (
                  node.type === "BlockStatement" &&
                  node.parent.type === "ArrowFunctionExpression"
              );
          }
docs: Check whether a given token is the closing brace of an arrow function.
  @param {Token} lastToken A token to check.
  @returns {boolean} `true` if the token is the closing brace of an arrow function.