NumPy

numpy.ma.MaskType.flags

attribute

MaskType.flags

integer value of flags