How can I use liquid code to get switch status in an app embed?

How to use the liquid code to get the switch status as shown in the figure, preferably a Boolean variable