def targeted
import cswap-bend-cli@0.1.0.0/profswitch.bend as Profswitchimport Base
159# Only a bare `switch` (no target, no --strategy) follows a profile.
160def targeted(+ident: Maybe<&2, String>, +strategy: Maybe<&2, String>) -> Bool:
161 has(ident) || has(strategy)