Snapd.GetInterfacesFlags.ONLY_CONNECTED – snapd-glib Reference Manual
ONLY_CONNECTED
Description:
ONLY_CONNECTED
Only return connected interfaces.