While this method works, think about some edge case scenarios that can occur. If something other than `true` or `false` is passed in as the argument for `switch`, this will still turn the oven on. This is OK if that makes sense, but its worth thinking about.