is there way to know if a serail device is connected?

Hello ,
wanted to know
is there any way to know if serial device is connect to the router ?
something like “R” on the ethernet\ppp?

and also is there a way to count the data ?

Thanks ,