human
How to check if all elements of a list matches a condition?
assistant
Here is some code to find all the lists from a lists of list 'items' if third element in all sub-lists is '0'

[x for x in items if x[2] == 0]

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