<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ignore_user_agent(user_agent):
 """ compare the useragent from the broswer to the ignore list This is popular if you want a mobile device to not trigger as mobile. For example iPad."""

    if user_agent:
        for ua in MOBI_USER_AGENT_IGNORE_LIST:
            if ua and ua.lower() in user_agent.lower():
                return True
    return False