def is_active
import cswap-bend-cli@0.1.0.0/daemon/fetch.bend as Fetchimport Base
31def is_active(+slot: String, +active: Maybe<&2, String>) -> Bool:
32 match active:
33 case Some{a}:
34 String.eq(slot, a)
35 case None{}:
36 False{}