# CTRDG_IsEnabled

## C Specification

  `#include <nitro/ctrdg.h>`
  `BOOL CTRDG_IsEnabled(void);`

## Arguments

None.

## Return Values

Returns TRUE if access to the AGB Game Pak is enabled; otherwise, returns FALSE.

## Description

This function checks access permission status to determine whether access to the AGB Game Pak is enabled. The program will forcibly halt if an attempt is made to access the AGB Game Pak while access is disabled. Note that this access permission does not apply to direct AGB Game Pak operations that do not use the CTRDG library.
For functions affected by this access permission, see CTRDG_Enable.
The default value of the access permission status is FALSE, and may be changed using the `CARD_Enable` function.

## See Also

CTRDG_Init CTRDG_Enable CTRDG_CheckEnabled

## Revision History

12/01/2005 Initial version.