src/language-handlebars/utils.js/isPreviousNodeOfSomeType
function isPreviousNodeOfSomeType(path, types) {
  const previousNode = getPreviousNode(path);
  return isNodeOfSomeType(previousNode, types);
}