Correct the name of the method isPlugged.

The old one is kept, but with a warning message (for now) 
in order not to break the other packages.