/*
Returns whether this state or any of its parents has the given fullName.
function isIn(fullStateName) {
    let current = state
    while (current) {
      if (current.fullName == fullStateName) return true
      current = current.parent
    }
    return false
  }