<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_reconnect_parameters(self, interval, attempts, restore_state=True):
 """Sets the behaviour of the automatic reconnect feature. When a connected SK8 is disconnected unexpectedly (in other words not by a user-triggered action), an automatic attempt to reconnect to the device can be made. If successful this will typically resume the connection with an interruption of only a few seconds. This method allows the application to configure some aspects of the automatic reconnect functionality. Args: interval (float):
 time in seconds between successive attempts to reconnect. Also applies to the delay between the initial disconnection and the first attempt to reconnect. attempts (int):
 the number of attempts to make to recreate the connection. This can be set to zero in order to disable the reconnection feature. restore_state (bool):
 if True, the streaming state of the device will also be restored if possible. For example, the IMU configuration will be re-applied after the reconnection attempt succeeds, to return the SK8 to the same state it was in before the disconnection occurred. Returns: None """

        self._reconnect_attempts = max(0, attempts)
        self._reconnect_interval = max(0, interval)
        self._reconnect_restore_state = restore_state