Boolean Value on the Switch?

Is it possible to pass a boolean through the API to the Webflow switch in the CMS? I can work around but would want to do this to pass true or false to a number of switches to make webflow show and hide things based on data coming from my app.