def AaGNfa.isstar
import bend-osdev-apparmor@0.1.0.0/glob.bend as Globimport Base
145# a star may match nothing: the position after it is active too
146def AaGNfa.isstar(tok: AaGTok) -> Bool:
147 match tok:
148 case AaGStar{}:
149 True{}
150 case AaGStar2{}:
151 True{}
152 case _:
153 False{}