The IsSniffed property returns information about the current state of a serial port: whether it is sniffed or not.

BOOL IsSniffed;

Property Values
  If the serial port is being sniffed this property is TRUE. Alternatively, if the port is not present in the system or it is not sniffed the return value is FALSE.