# Exists

> Returns true if a property bag exists for the given type.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Properties](/engine/6000.0/script-reference/unity/properties.md)
* **Assembly:** UnityEngine.PropertiesModule

## Exists\<T>()

Returns true if a property bag exists for the given type.

```csharp
public static bool Exists<TContainer>()
```

### Returns

| Type                                                          | Description                                                               |
| ------------------------------------------------------------- | ------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if there is a property bag for the given type; otherwise, `false`. |

## Exists(Type)

Returns true if a property bag exists for the given type.

```csharp
public static bool Exists(Type type)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The type to check for a property bag

### Returns

| Type                                                          | Description                                                               |
| ------------------------------------------------------------- | ------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if there is a property bag for the given type; otherwise, `false`. |
