# initialized

Learn how to check whether the SDK has been initialized.

This property indicates whether the SDK has been initialized.

It is `true` after calling the [`plug`](/reference/sdk/javascript/api/plug/plug) method and `false` after calling the [`unplug`](/reference/sdk/javascript/api/plug/unplug) method.

## Signature

This property has the following signature:

```ts
public get initialized(): boolean
```

## Example

Here is a basic example of how to use this property:

```ts
import croct from '@croct/plug';

console.log(croct.initialized); // false

croct.plug({appId: '00000000-0000-0000-0000-000000000000'});

console.log(croct.initialized); // true

croct.unplug();

console.log(croct.initialized); // false
```
