def Plan.hit
import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtimeimport Base
653def Plan.hit(ws: List<&2, Watch>, +key: String) -> Bool:
654 match ws:
655 case Con{Watch{+a, +l, s}, t}:
656 String.eq(Watch.key(a, l), key)
657 case _:
658 False{}