# ContainsElement(GraphElement)

> Determines if the Scope contains the specified GraphElement.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Experimental.GraphView](/engine/6000.6/script-reference/unityeditor/experimental/graphview.md)
* **Assembly:** UnityEditor

```csharp
public bool ContainsElement(GraphElement element)
```

### Parameters

**** (\[GraphElement]\(/engine/6000.6/script-reference/unityeditor/experimental/graphview/graphelement)): The element.

### Returns

| Type                                                          | Description                                                                        |
| ------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the Scope contains the specified element. Returns false otherwise. |
