g_sequence_is_empty() is more efficient for that task. https://bugzilla.gnome.org/show_bug.cgi?id=756988