AVI plugged check

I am checking HDMI cable status through

CreateObject("roHdmiStatus").IsConnected()

Is there any way to check when connected through AVI port?