def isPoint(pointlist):
    """ Verify is a list is a list of points """
    if len(pointlist) in [2, 3]:
        if isinstance(pointlist[0], (int, float)) and isinstance(pointlist[
            1], (int, float)):
            return True
        else:
            return False
    else:
        return False
