public static bool IsInOwnershipPath([NotNull] this IReadOnlyEntityType entityType, [NotNull] Type targetType) => entityType.FindInOwnershipPath(targetType) != null;