/* Returns: TRUE if @group_name is a part of @key_file, FALSE otherwise. Since: 2.6  */
gboolean g_key_file_has_group(GKeyFile *key_file, const gchar *group_name)
/* Returns: TRUE if @group_name is a part of @key_file, FALSE otherwise. Since: 2.6  */
gboolean g_key_file_has_group(GKeyFile *key_file, const gchar *group_name)
{
  g_return_val_if_fail (key_file != NULL, FALSE);
  g_return_val_if_fail (group_name != NULL, FALSE);
  return g_key_file_lookup_group (key_file, group_name) != NULL;
}