Returns 1 if the given file was opened successfully, 0 if not. You can use GetErrorOccurred to check if it was the result of an error and GetLastError to get said error.
integer FileIsOpen( iFileID )
int agk::FileIsOpen( uint32_t iFileID )