> For the complete documentation index, see [llms.txt](https://gley.gitbook.io/mobile-traffic-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gley.gitbook.io/mobile-traffic-system/complete-api/isinitialized.md).

# IsInitialized

### Description

Check if the Traffic System is initialized.

### Declaration&#x20;

Supports multiple declarations based on the needs.

```csharp
public static bool IsInitialized()
```

### Returns

**bool** - true if Mobile Traffic System is initialized.

### Example

```csharp
using Gley.TrafficSystem;
using UnityEngine;

public class Test : MonoBehaviour
{
    void Update()
    {
         if (API.IsInitialized())
         {
             //do something
             SetPath();
         }
     }
}
```
