def find_in_list(content, token_line, last_number):
    """
    Finds an item in a list and returns its index.
    """
    token_line = token_line.strip()
    found = None
    try:
        found = content.index(token_line, last_number+1)
    except ValueError:
        pass
    return found