> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# RakNet.is_enabled

> Boolean field on the RakNet table. It is true only when RakNet support is enabled for the current Real session. When it is false, the RakNet table is still present, but the send, hook, signal, priority, and reliability fields are not registered.

<div className="real-function-page">
  ```lua theme={null}
  RakNet.is_enabled(): boolean
  ```

  ## Aliases

  * `raknet.is_enabled`

  ## Retornos

  <ResponseField name={"enabled"} type={"boolean"}>
    true when the RakNet API surface was registered for this session; false otherwise.
  </ResponseField>

  ## Exemplo

  Check whether the RakNet API surface is available before reading RakNet methods or enum tables.

  ```lua theme={null}
  if not RakNet.is_enabled then
      warn("RakNet is disabled")
      return
  end

  print(RakNet.is_enabled)
  ```
</div>
