checkInitializedOrThrow

fun checkInitializedOrThrow(initialized: AtomicBoolean, shouldInitialized: Boolean)

Checks the initialization status.