def METHOD_NAME(self):
    self.logging_serial("Debug", "check_hw_flow_control ")
    if self._connection is None:
        return 
    try:
        if (
            self._serialPort.find("COM") == -1
            and not self._connection.rtscts
            and (
                (self.ZiGateHWVersion == 2 and self._transp in ("V2-USB", "V2-DIN"))
                or (self.ZiGateHWVersion == 1 and self._transp in ("DIN"))
            )
        ):
            self.logging_serial("Status", "Upgrade Serial line to RTS/CTS HW flow control")
            self._connection.rtscts = True
    except serial.SerialException:
        pass