What is the best way to do this:
You could have Googled and / or use Searche in this forum first…
Also i really suggest start looking into Dynamo Dictionary.
You would have to compare values separately or with a list.
In a code block
X == “D30” || X == “A28” ? true : false ;