/Engine/Source/Runtime/Core/Public/Misc/App.h
To override, pass -engineinstalled or -enginenotinstalled on the command line.
true if the engine is installed, false otherwise.
static bool IsEngineInstalled()