type.inbound
// You should only observe RTL injection when RTL languages are present.
and (
regex.icount(body.html.raw,
'<span style="unicode-bidi: bidi-override; display: inline-block;" dir="rtl">'
) + regex.icount(body.html.raw, '<bdo dir="rtl">')
// Count allows for scalability for FP's.
) >= 3
Playground
Test against your own EMLs or sample data.