how to check if all elements of a list matches a condition?,[x for x in items if x[2] == 0]