def in.is_writable
import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterpimport Base
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as S
815def in.is_writable(o: Maybe<&2, S.AmlObject>) -> Bool:
816 match o:
817 case Some{S.AmlOField{r, off, n, f}}:
818 True{}
819 case Some{S.AmlOIndexField{i, d, off, n, f}}:
820 True{}
821 case Some{S.AmlOBufField{l, off, n}}:
822 True{}
823 case _:
824 False{}