def in_group
import bolt@1.27.0.0/src/syntax/tree.bend as Treeimport Base
361# is the innermost frame an open group?
362def in_group(stack: List<&2, Frame>) -> Bool:
363 match stack:
364 case Con{FGroup{open, kids}, rest}:
365 True{}
366 case other:
367 False{}