import re


def has_arabic(text):
    """
    infer if text has Arabic / Middle-eastern scripts ~ Urdu, Farsi, Arabic.
    :param text:
    :return:
    """
    search = re.search("[\u0600-\u08ff]", text, flags=re.IGNORECASE | re.UNICODE)
    return search is not None