I think ```ma.isMaskedArray()``` is cleaner.