This version of Unity is unsupported.

VisualElement.enabledInHierarchy

public bool enabledInHierarchy;

Description

Returns true if the VisualElement is enabled in its own hierarchy.

This flag verifies if the element is enabled globally. A parent disabling its child VisualElement affects this variable.