def is_active
import cswap-bend-cli@0.1.0.0/profview.bend as Profviewimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/profile.bend as P
27# `default` is the active profile while `active_profile` is unset.
28def is_active(+raw: Json.Json, +name: String) -> Bool:
29 is_active.of(P.active(raw), name)