astropy.nddata
astropy.nddata.bitmask.
InvalidBitFlag
Indicates that a value is not an integer that is a power of 2.