/Engine/Source/Runtime/Core/Public/Misc/App.h
To run an "installed" build without installing, use the -Installed command line parameter. To run a "non-installed" desktop shipping build, use the -NotInstalled command line parameter.
true if the application is installed, false otherwise.
static bool IsInstalled()