function legacyIsNextLineEmpty(text, node, locEnd) {
  return isNextLineEmptyAfterIndex(text, locEnd(node));
}
@template N
@param {string} text
@param {N} node
@param {(node: N) => number} locEnd
@returns {boolean}