The boolean widget translates a toggle switch input to a true/false value.