/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectBaseUtility.h
Checks whether this object's top-most package has any of the specified flags
true if the PackageFlags member of this object's top-package has any bits from the mask set.
bool RootPackageHasAnyFlags ( uint32 CheckFlagMask ) const