IsOpened property in Manage Registry AX

IsOpened returns TRUE if the key is open and FALSE otherwise.

BOOL IsOpened;