Or perhaps a better question is, does `isinstance(_mask, ndarray)` catch all the alternatives.