True when behavior is one of the behaviors this module implements.
Directives arrive as parsed model output, so the behavior field is not guaranteed to hold one
of its declared literals — it can be a typo ('createNew'), a renamed wire value, a value from
a newer producer, or not a string at all. Callers use this to LOG the mismatch; the mapping
itself degrades silently so an unrecognized behavior is never worse than no directive.
True when
behavioris one of the behaviors this module implements.Directives arrive as parsed model output, so the
behaviorfield is not guaranteed to hold one of its declared literals — it can be a typo ('createNew'), a renamed wire value, a value from a newer producer, or not a string at all. Callers use this to LOG the mismatch; the mapping itself degrades silently so an unrecognized behavior is never worse than no directive.