def simpcluded(spx, simplices):
    """Is a simplex in a list of simplices?"""
    isIncluded = False
    for s in simplices:
        if s == spx:
            isIncluded = True
            break

    return isIncluded