If I have a (possibly multidimensional) Python list where each element is one of True, False, or ma.masked, what\'s the idiomatic way
True
False
ma.masked