def to_bool
import qasim-bend-kit@0.1.0.2/proof/JSON_SourceProof.bend as JSONSourceProofimport Base
import qasim-bend-kit@0.1.0.2/proof/JSON_AssemblyProof.bend as A
1421def to_bool(mode: A.Mode) -> Bool:
1422 match mode:
1423 case A.Whole{}: False{}
1424 case A.Members{}: True{}