<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def isin_alone(elems, line):
 """Check if an element from a list is the only element of a string. :type elems: list :type line: str """

    found = False
    for e in elems:
        if line.strip().lower() == e.lower():
            found = True
            break
    return found