isEnabledInHierarchy
A Boolean that indicates whether the entity and all of its ancestors are enabled.
Declaration
@MainActor @preconcurrency var isEnabledInHierarchy: Bool { get }Discussion
The value of this property is true if the entity and all of its ancestors are enabled, regardless of anchor state.