import re


def _detect_non_english(text):
    """Function that detects if there's non-english characters in text

    Args:
        text (string): text of a news article

    Returns:
        boolean: True if there's non-english characters exist
    """
    # korean
    if re.search("[\uac00-\ud7a3]", text):
        return True
    # japanese
    if re.search("[\u3040-\u30ff]", text):
        return True
    # chinese
    if re.search("[\u4e00-\u9FFF]", text):
        return True
    # arabic
    if re.search("[\u0600-\u06FF]", text):
        return True
    # devanagari (hindi)
    if re.search("[\u0900-\u097F]", text):
        return True
    return False