NumPy

numpy.ma.MaskType.flags

attribute

MaskType.flags

The integer value of flags.