You can do like <if 1==1>True</if><if 1!=1>False</if>. This works here and on most other buttons and places ternary expressions don’t work.
<if 1==1>True</if><if 1!=1>False</if>
I did something with this a couple years ago on this topic…
More details here: