Switch checkbox condition

Hi,
Seems like something basic but can’t get it to work.
How do I set the condition that if the switch is checked.

Screenshot 2021-10-23 at 22.31.18

I tried:
$_POST.announcement==1
$_POST.announcement==“checked”
$_POST.announcement==true

Community Page
Last updated: