/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectBase.h
Returns the externalUPackageassociated with this object, if any
[UPackage](API\Runtime\CoreUObject\UObject\UPackage) * GetExternalPackage() const