# CFX::IS_DUI_AVAILABLE

- **Hash:** `0x7AAC3B4C`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `IsDuiAvailable`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/IS_DUI_AVAILABLE

## Signature

```c
BOOL IS_DUI_AVAILABLE(long duiObject);
```

## Parameters

- `duiObject` (`long`) — The DUI browser handle.

## Returns

`BOOL` — A boolean indicating TRUE if the browser is created.

## Description

*Source: Cfx.re native reference*

Returns whether or not a browser is created for a specified DUI browser object.

## Usage

### Lua

```lua
local retval = IsDuiAvailable(duiObject)

-- always available, by hash
local retval = Citizen.InvokeNative(0x7aac3b4c, duiObject, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = IsDuiAvailable(duiObject);

// by hash
const retval = Citizen.invokeNative('0x7aac3b4c', duiObject, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x7aac3b4c, duiObject);
```

*Sources: Cfx.re native reference.*
