Plug.getEmbedded

bool getEmbedded()

Determines whether the plug is embedded in a socket.

Returns

true if the plug is embedded in a socket