# IsSystemStateSharedComponent(TypeIndex)

> Obsolete. Use TypeIndex.IsCleanupSharedComponent instead.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

> **Warning:**
>
> **Deprecated.** IsSystemStateSharedComponent() has been renamed to IsCleanupSharedComponent(). IsSystemStateSharedComponent() will be removed in a future package release.
>
> **Upgrade to** [TypeManager.IsCleanupSharedComponent](/engine/7000.0/script-reference/unity/entities/typemanager/iscleanupsharedcomponent.md)

```csharp
public static bool IsSystemStateSharedComponent(TypeIndex typeIndex)
```

### Parameters

**** (\[TypeIndex]\(/engine/7000.0/script-reference/unity/entities/typeindex)): TypeIndex for a component

### Returns

| Type                                                          | Description                                            |
| ------------------------------------------------------------- | ------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns if the component is a cleanup shared component |
