# CTRDG_IsExisting

## Syntax

      #include <nitro/ctrdg.h>

      BOOL CTRDG_IsExisting( void );

## Arguments

None.

## Return Values

Returns a value of TRUE if there is a Game Pak. Otherwise, it returns a value of FALSE. This function will always return a value of FALSE after the initial removal of a Game Pak.

## Description

This function checks whether a Game Pak is inserted. When the bus is locked, the ARM7 will not perform automatic removal detection processing, and thus you should periodically call `CTRDG_IsExisting` each game frame or other interval when the player cannot reinsert.

## See Also

`CTRDG_Init`, `CTRDG_IsPulledOut`

## Revision History

2005/04/12 Added description of cartridge bus lock.
2004/09/15 Initial version.

CONFIDENTIAL