/Engine/Source/Developer/DesktopPlatform/Public/IDesktopPlatform.h
Tests whether an engine installation is a perforce build.
true if the engine is a perforce build.
bool IsPerforceBuild ( const [FString](API\Runtime\Core\Containers\FString) & RootDir )