/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h
Checks if we're the first instance. An instance can become first if the previous first instance quits before it.
static bool IsFirstInstance()