def AmlName.segs_ok
import bend-osdev-acpi@0.1.1.0/aml_name.bend as AmlNameimport Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B
136def AmlName.segs_ok(ss: List<&2, B.Octets>) -> Bool:
137 match ss:
138 case Nil{}:
139 True{}
140 case Con{s, t}:
141 Bool.and(AmlName.seg_ok(s), AmlName.segs_ok(t))