# ContainsNode(AccessibilityNode)

> Verifies whether the given node exists in the accessibility hierarchy.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Accessibility](/engine/6000.6/script-reference/unityengine/accessibility.md)
* **Assembly:** UnityEngine.AccessibilityModule

```csharp
public bool ContainsNode(AccessibilityNode node)
```

### Parameters

**** (\[AccessibilityNode]\(/engine/6000.6/script-reference/unityengine/accessibility/accessibilitynode)): The node to search for in the hierarchy.

### Returns

| Type                                                          | Description                                                        |
| ------------------------------------------------------------- | ------------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if the node exists in this hierarchy and `false` otherwise. |
