# isControllerInitialized {#iscontrollerinitialized}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`isControllerInitialized()`

## Arguments {#arguments}

None

## Details {#details}

Check whether the controller is initialized. True if it is initialized, otherwise false. In a cluster, it is called only on the controller; in a cluster with high-availability enabled, it is called only on the leader.

## Example {#example}

```
isControllerInitialized()
// output: true
```

Related Functions: [isDataNodeInitialized](isDataNodeInitialized.md)

