Gio.SocketService.prototype.is_active
function is_active(): Boolean {
    // Gjs wrapper for g_socket_service_is_active()
}
  Check whether the service is active or not. An active service will accept new clients that connect, while a non-active service will let connecting clients queue up until the service is started.
Since 2.22
- Returns
 true if the service is active, false otherwise