Added g_hash_table_contains for glib < 2.32