code: def tail_disconnect(self, index):
          
          try:
              for device in self.devices[index + 1:]:
                  device.connected = False
          except IndexError:
              pass
docs: Mark all devices disconnected except target in the chain.