<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def heat_setting(self, value):
 """Verifies that the heat setting is between 0 and 3."""

        if value not in range(0, 4):
            raise exceptions.RoasterValueError

        self._heat_setting.value = value