/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectBaseUtility.h
Overload to determine if an object is in the specified package which can now be different than its outer chain.
bool IsIn ( const [UPackage](API\Runtime\CoreUObject\UObject\UPackage) * SomePackage ) const