@property
    def dsr(self):
        return win32.MS_DSR_ON & self._GetCommModemStatus() != 0
Read terminal status line: Data Set Ready
dataset/ETHPy150Open pyserial/pyserial/serial/serialwin32.py/Serial.dsr