getClearText = dialogNode => {
  const shouldClearDialogue = dialogNode?.dialogClear
  if (typeof shouldClearDialogue === 'undefined') {
    return true
  }
  return shouldClearDialogue
}
@param {DialogNode} dialogNode
@returns {bool} whether we should clear all existing dialogs. Defaults to true.