---
title: isValid
framework: usdkit
role: symbol
role_heading: Instance Property
path: usdkit/usdprim/relationship/isvalid
---

# isValid

A Boolean value indicating whether this relationship is valid.

## Declaration

```swift
var isValid: Bool { get }
```

## Discussion

Discussion A relationship’s validity is connected to a USDStage. A relationship becomes invalid when the lifetime of its stage ends. A relationship will also expire if its stage no longer defines a value for the relationship. isValid is false if this relationship has expired.
