def is_disabled
import cswap-bend-cli@0.1.0.0/switch.bend as Switchimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/swbase.bend as B
72def is_disabled(+rec: Maybe<&2, Json.Json>) -> Bool:
73 match rec:
74 case None{}:
75 False{}
76 case Some{r}:
77 B.is_true(Json.get("disabled", r))