code: function isLastNode(node) {
              const token = sourceCode.getTokenAfter(node);
  
              return !token || (token.type === "Punctuator" && token.value === "}");
          }
docs: Determine if provided node is the last of their parent block.
  @private
  @param {ASTNode} node - node to test
  @returns {boolean} True if `node` is last of their parent block.