/* Returns: the boolean value contained within the attribute, or FALSE.  */
gboolean _g_file_attribute_value_get_boolean(const GFileAttributeValue *attr)
/* Returns: the boolean value contained within the attribute, or FALSE.  */
gboolean _g_file_attribute_value_get_boolean(const GFileAttributeValue *attr)
{
  if (attr == NULL)
    return FALSE;
  g_return_val_if_fail (attr->type == G_FILE_ATTRIBUTE_TYPE_BOOLEAN, FALSE);
  return attr->u.boolean;
}