(elems, line)
return found
Check if an element from a list is in a string.

    :type elems: list
    :type line: str
Check if an element from a list is in a string.
Check if an element from a list is in a string .
def isin(elems, line):
    """Check if an element from a list is in a string.

    :type elems: list
    :type line: str

    """
    found = False
    for e in elems:
        if e in line.lower():
            found = True
            break
    return found
def isin ( elems , line ) : found = False for e in elems : if e in line . lower ( ) : found = True break return found