Code example for Switch

Methods: isChecked, setChecked