<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def intinlist(lst):
 """test if int in list"""

    for item in lst:
        try:
            item = int(item)
            return True
        except ValueError:
            pass
    return False