def isValid(text):
    return bool(re.search(r'\b(hack(er)?|HN)\b', text, re.IGNORECASE))
Returns True if the input is related to Hacker News.
dataset/ETHPy150Open jasperproject/jasper-client/client/modules/HN.py/isValid