<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_impact_state(self):
 """We just go an impact, so we go unreachable But only if we enable this state change in the conf :return: None """

        cls = self.__class__
        if cls.enable_problem_impacts_states_change:
            logger.debug("%s is impacted and goes UNREACHABLE", self)

            # Track the old state (problem occured before a new check)
            self.state_before_impact = self.state
            self.state_id_before_impact = self.state_id
            # This flag will know if we override the impact state
            self.state_changed_since_impact = False
            # Set unreachable
            self.set_unreachable()