src/language-handlebars/utils.js/isLastNodeOfSiblings
function isLastNodeOfSiblings(path) {
  const node = path.getValue();
  const parentNode = path.getParentNode(0);

  if (
    isParentOfSomeType(path, ["ElementNode"]) &&
    getLast(parentNode.children) === node
  ) {
    return true;
  }

  if (
    isParentOfSomeType(path, ["Block"]) &&
    getLast(parentNode.body) === node
  ) {
    return true;
  }

  return false;
}