def is_plaintext(email_message):
    return re.match(r"^text/plain", email_message.get_content_type(), re.IGNORECASE)
Whether a message is plaintext
dataset/ETHPy150Open rapidsms/rapidsms-core-dev/lib/rapidsms/backends/email.py/is_plaintext