# Contains(string)

> Check if an AssetBundle contains a specific object.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AssetBundleModule

```csharp
public bool Contains(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the object to look for.

### Returns

| Type                                                          | Description                                                                       |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if an asset with the specified name is in the AssetBundle. Otherwise, false. |

### Remarks

Returns true if an Asset referred to by `name` is contained in the AssetBundle, false otherwise.
