<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSManagedObject/isInserted",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:objc(cs)NSManagedObject(py)inserted"
  },
  "title" : "isInserted"
}
-->

# isInserted

A Boolean value that indicates whether the managed object has been inserted in a managed object context.

```
var isInserted: Bool { get }
```

## Discussion

<doc://com.apple.documentation/documentation/Swift/true> if the receiver has been inserted in a managed object context, otherwise <doc://com.apple.documentation/documentation/Swift/false>. If the receiver is a fault, accessing this property does not cause it to fire.

---

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)