How to detect the physical connected state of a network cabl

Is any command or Utility available to Find out the physical connected state of a network cable/connector ?

nicinfo - “Current operation rate”
ifconfig - “media:”