# isEnabled

`liquid.isEnabled()` allows you to check if the liquid provider is enabled without explicitly enabling it through `liquid.enable()` (which may cause a confirmation popup in some providers)

#### Method&#x20;

```typescript
function isEnabled(): Promise<boolean>;
```

**Example**

```javascript
if(typeof window.liquid !== 'undefined' && window.liquid.isEnabled) {
    const isEnabled = await window.liquid.isEnabled();
    // do something with the value
    console.log(isEnabled)
  }
```

#### Demo

{% embed url="<https://codepen.io/getalby/pen/RwEXNpM>" %}
