Correct the name of the method isPlugged.

The old one is kept, but with a warning message
(for now).