'PlumUML: With preprocessor, how check key is present?

With a dictionary variable, I would like to check the presence of a key

!$domain_color?={
    "technical": "#gray",
}

frame input $INPUT_COLOR {
!if "technical" in $domain_color
ABC -> bad
!else
def -> ok
!endif

How I can do that?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source