/* Returns: the boolean value contained within the attribute.  */
gboolean g_file_info_get_attribute_boolean(GFileInfo *info, const char *attribute)
/* Returns: the boolean value contained within the attribute.  */
gboolean g_file_info_get_attribute_boolean(GFileInfo *info, const char *attribute)
{
  GFileAttributeValue *value;
  g_return_val_if_fail (G_IS_FILE_INFO (info), FALSE);
  g_return_val_if_fail (attribute != NULL && *attribute != '\0', FALSE);
  value = g_file_info_find_value_by_name (info, attribute);
  return _g_file_attribute_value_get_boolean (value);
}