Looping through multiple items in list and checking List.AllFalse in python

Hello all,
I was wondering how to simplify this loop. I managed to get the output list to work how I want it. But perhaps there is an easier way.


What I want to did with this output list I can do it with dynamo nodes, which is to test if items in list are allFalse at level 2 while maintaining same list structure. But I’m not sure how to do List.AllFalse and used the list levels in python.
Any help is appreciated. Thank you.

2 Likes