isControllerInitialized

Syntax

isControllerInitialized()

Arguments

None

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

$ isControllerInitialized()
true

Related Functions: isDataNodeInitialized