> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/aatkit-react-native-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aatkit.gitbook.io/aatkit-react-native-integration/other/reference/rnaatkit/functions/isnetworkenabled.md).

# isNetworkEnabled

### Overview <a href="#markdown-header-overview" id="markdown-header-overview"></a>

Returns true if ad network is enabled, false otherwise.

### Syntax <a href="#markdown-header-syntax" id="markdown-header-syntax"></a>

```javascript
isNetworkEnabled(network, callback)
```

network **(REQUIRED)**

*int .* Ad network. See network constants [here](/aatkit-react-native-integration/other/reference/other/ad-networks.md).

callback **(REQUIRED)**

*Callback\<Boolean>.* Used to provide the function call result to JavaScript.

Parameters:

* **Boolean** - True if ad network is enabled, false otherwise.

### Examples <a href="#markdown-header-examples" id="markdown-header-examples"></a>

```javascript
RNAatkit.isNetworkEnabled(RNAatkit.AdNetwork_MILLENNIAL, (networkEnabled) => {
                console.log("networkEnabled" + networkEnabled);
            });
```
