g_hash_table_contains() exists since GLib >= 2.32
Usage of g_hash_table_contains() was introduced by commit 5c90890.