Whether this state descends from another.
bool descendsFrom(State<T> other) => ancestors().contains(other);