def is_weighted
import bend-visgraph@2.0.0.0/src/report.bend as Reportimport Base
import bend-visgraph@2.0.0.0/visgraph.bend as VG
27def is_weighted(k: VG.Weight) -> Bool:
28 match k:
29 case VG.Unweighted{}:
30 False{}
31 case _:
32 True{}