src/language-handlebars/printer-glimmer.js/needsOppositeQuote
function needsOppositeQuote(path) {
  let index = 0;
  let parentNode = path.getParentNode(index);
  while (parentNode && isNodeOfSomeType(parentNode, ["SubExpression"])) {
    index++;
    parentNode = path.getParentNode(index);
  }
  if (
    parentNode &&
    isNodeOfSomeType(path.getParentNode(index + 1), ["ConcatStatement"]) &&
    isNodeOfSomeType(path.getParentNode(index + 2), ["AttrNode"])
  ) {
    return true;
  }
  return false;
}