How can I determine that LAN cable is not connected to the TV

How can I determine that LAN cable is not connected to the TV. Note I don’t need to know when GATEWAY_DISCONNECTED but rather when LAN_CABLE_DETACHED.