def METHOD_NAME(self, state):
    self.port.setRTS(state)
    # Work-around for adapters on Windows using the usbser.sys driver:
    # generate a dummy change to DTR so that the set-control-line-state
    # request is sent with the updated RTS state and the same DTR state
    self.port.setDTR(self.port.dtr)