def isValid(text):
    return any(word in text.upper() for word in WORDS)


# The interesting part
Returns True if the input is related to jokes/humor.
dataset/ETHPy150Open jasperproject/jasper-client/client/modules/MPDControl.py/isValid