int GTK.Plug()->get_same_app()
returns 1 if the socket the plug is connected to is in this application.
Extracted from Pike v7.3 release 11 at 2001-11-03.