def walk.done
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport Base
1036# whether the walk is over: its queue is empty, or it has stopped
1037def walk.done(+st: State) -> Bool:
1038 State{_seen, _out, stop, queue} = st
1039 Bool.or(List.is_empty(&2, Task, queue), Bool.not(stop.going(stop)))