Skip if the two sequences to the right have different shapes: ععع ععع.
Skip if the number 2 here appears to the left of the Arabic word: اثنان 2.
Test passes if the three Arabic characters DON'T join, making the two boxes identical.

ععع
ع‌ع‌ع

Assertion: Shaping IS broken across inline box boundaries when isolation occurs.