def unique(listCheck):
    """ Check that all elements of list are unique
        https://stackoverflow.com/a/5281641"""
    seen = set()
    return not any(tuple(i) in seen or seen.add(tuple(i)) for i in listCheck)