import re


def inAny(item, group, regEx=False):
    """ Helper function to check if word from list is in a string """
    if regEx:
        return any(re.search(word,item) for word in group)
    return any(word in item for word in group)