def getIndexPositionsThatStartWith(listOfElements, item):
    """ Returns the indexes of all occurrences of give element in
    the list- listOfElements """
    indexPosList = []
    for index in range(0, len(listOfElements)):
        if listOfElements[index].startswith(item):
            indexPosList.insert(len(indexPosList), index)
    return indexPosList