def is_registration_text(text):
    keywords = text.strip().upper().split()
    if len(keywords) == 0:
        return False

    return keywords[0] in REGISTRATION_KEYWORDS
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/sms/api.py/is_registration_text/original