<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USDKit",
  "identifier" : "/documentation/USDKit/USDStage/hasDefaultPrim",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit8USDStageV14hasDefaultPrimSbvp"
  },
  "title" : "hasDefaultPrim"
}
-->

# hasDefaultPrim

Return true if this stage’s root layer has an authored opinion for the
default prim layer metadata.

```
var hasDefaultPrim: Bool { get }
```

## Discussion> Note: This function only consults the stage’s root layer.  To consult
> a different layer, use ``doc://com.apple.usdkit/documentation/USDKit/USDLayer/defaultPrim``.

---

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)