let
exists t ~f =
Doubly_linked
.exists t.queue ~f:(
fun
kv
->
f kv.value)