def should_pop
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
1445# Levels
1446# ------
1447def should_pop(levels: List<&2, U32>, col: U32) -> Bool:
1448 match levels:
1449 case Con{top, Con{x, xs}}:
1450 U32.is_lt(col, top)
1451 case _:
1452 False{}