<!--
{
  "availability" : [
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSItem/GetAttributesRequest/isAttributeWanted(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(cs)FSItemGetAttributesRequest(im)isAttributeWanted:"
  },
  "title" : "isAttributeWanted(_:)"
}
-->

# isAttributeWanted(_:)

A method that indicates whether the request wants given attribute.

```
func isAttributeWanted(_ attribute: FSItem.Attribute) -> Bool
```

## Parameters

`attribute`

The [`FSItem.Attribute`](/documentation/FSKit/FSItem/Attribute) to check.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)