check_unit_id()# ModbusRTUTransport.check_unit_id(unit_id: int) → int# Validate unit_id against this physical layer’s range (0 to _max_unit_id) and return it.