You can use [If]
, but your model needs to expose a property or a method:
[if IsSomeValueNull]Yes[else]No[end]
It's probably easier to expose the final text
Note that if property is null, dots are simply not followed:
"Hi [NullProperty.FirstName]," -> "Hi ,"