human
How to check if all elements of a list matches a condition?
assistant
Here is some code to check if the third element of all the lists in a list "items" is equal to zero.

any(item[2] == 0 for item in items)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.