def held
import bolt@1.27.0.0/src/rules/pedantic/index.bend as Indeximport Base
import bolt@1.27.0.0/src/syntax/tree.bend as Tree
import bolt@1.27.0.0/src/rules/table.bend as Table
31# a fixed table (src/rules/table.bend) is left alone
32def held(+list: Bool, coll: Tree.Node, +fixed: List<&2, String>) -> Bool:
33 match list:
34 case False{}:
35 False{}
36 case True{}:
37 Table.owns(coll, fixed)