numpy.ma.MaskedArray.__nonzero__

attribute

MaskedArray.__nonzero__

x.__nonzero__() <==> x != 0