# IsRegistered(VisualElement)

> Returns whether this group is registered for the given element.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public bool IsRegistered(VisualElement element)
```

### Parameters

**** (\[VisualElement]\(/engine/6000.6/script-reference/unityengine/uielements/visualelement)): The element to find the group on.

### Returns

| Type                                                          | Description                                                                           |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if this group was registered for this element and not subsequently unregistered. |

### Remarks

If the [EventCallbackGroup.Register](/engine/6000.6/script-reference/unityengine/uielements/eventcallbackgroup/register.md) method was never called for this element, this method is guaranteed to return `false`.

If the [EventCallbackGroup.Register](/engine/6000.6/script-reference/unityengine/uielements/eventcallbackgroup/register.md) method was called multiple times for this element, this method returns `true` unless the [EventCallbackGroup.Unregister](/engine/6000.6/script-reference/unityengine/uielements/eventcallbackgroup/unregister.md) method was called at least the same number of times.
