---
title: "isUbiquitousItem(at:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/filemanager/isubiquitousitem(at:)"
---

# isUbiquitousItem(at:)

Returns a Boolean indicating whether the item is targeted for storage in iCloud.

## Declaration

```swift
func isUbiquitousItem(at url: URL) -> Bool
```

## Parameters

- `url`: Specify the URL for the file or directory whose status you want to check.

## Return Value

Return Value true if the item is targeted for iCloud storage or false if it is not. This method also returns false if no item exists at url.

## Discussion

Discussion This method reflects only whether the item should be stored in iCloud because a call was made to the  setUbiquitous(_:itemAt:destinationURL:) method with a value of true for its flag parameter. This method does not reflect whether the file has actually been uploaded to any iCloud servers. To determine a file’s upload status, check the NSURLUbiquitousItemIsUploadedKey attribute of the corresponding NSURL object.

## See Also

### Managing iCloud-based items

- [ubiquityIdentityToken](foundation/filemanager/ubiquityidentitytoken.md)
- [url(forUbiquityContainerIdentifier:)](foundation/filemanager/url(forubiquitycontaineridentifier:).md)
- [setUbiquitous(_:itemAt:destinationURL:)](foundation/filemanager/setubiquitous(_:itemat:destinationurl:).md)
- [startDownloadingUbiquitousItem(at:)](foundation/filemanager/startdownloadingubiquitousitem(at:).md)
- [evictUbiquitousItem(at:)](foundation/filemanager/evictubiquitousitem(at:).md)
- [url(forPublishingUbiquitousItemAt:expiration:)](foundation/filemanager/url(forpublishingubiquitousitemat:expiration:).md)
