/Engine/Source/Runtime/CoreUObject/Public/Misc/RedirectCollector.h
Removes and copies the value of the list of package dependencies of the given package that were marked as excluded by FSoftObjectPathSerializationScopes during the load of the package. This is only used on startup packages during the cook commandlet; for all other packages and modes it will find an empty list and return false.
Whether any references were found
bool RemoveAndCopySoftObjectPathExclusions ( [FName](API\Runtime\Core\UObject\FName) PackageName, [TSet](API\Runtime\Core\Containers\TSet)< [FName](API\Runtime\Core\UObject\FName) > & OutExcludedReferences )