def list_item_indexes(_list, item):
    """
    returns all indexes where an item appears in a list
    """
    ret = []
    for (i, val) in enumerate(_list):
        if val == item:
            ret.append(i)
    return ret