Yes, but the detection that a cable has been plugged in isn't. Whoops.
To be fair, this isn't really an issue unless your device grounds are likely to have more than a couple of volts difference due to spikes. And that happens very rarely in the home or office.