SciPy

numpy.ma.masked_array.sharedmask

masked_array.sharedmask

Share status of the mask (read-only).