<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_to_restart(self, instance):
 """Put an instance to the restart queue :param instance: instance to restart :type instance: object :return: None """

        self.to_restart.append(instance)
        if instance.is_external:
            instance.proc = None