SciPy

numpy.ma.masked_array.recordmask

attribute

masked_array.recordmask

Return the mask of the records.

A record is masked when all the fields are masked.