Add sanity check to hasPlug()