I have a dictionary where the values are a tuple
dict={'A':('1','2','3'),'B':('2','3','xxxx')....}
I need to find out if all values have a '' or None in their third element.
It just needs to be a boolean evaluation.
What is most concise way to make this happen?
This is what I did:
all(not v[2] for v in dict.values())
But i guess there will be a better 'any' form to this?