How to evaluate this condition?

Yeah spacebars doesn’t like logical operations so you have to DIY.
Short of doing a custom helper for every logic condition, you can do something like this: