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

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