Depending upon how the interface needs to be wired, and possibly the divice connected to it you might be able to detect the presence of the device by looking at the state of a handshake signal.
For example, if the device always asserts DTR when it's powered-on (or can be configured to), you can check for that using the VISA signal status properties.
Alternately, if you have two handshake signals that aren't being used (like RTS and CTS) you can short the two signals together at the device end on the serial cable. Then in software set RTS and verify that CTS shows the same state. Of course technically this only detects the presence of the cable, but sometimes signals like this are cross connected inside devices.
Mike...