int GTK.Socket()->has_plug()
Returns true if this socket is occupied
Extracted from Pike v7.3 release 11 at 2001-11-03.