mask_reduce()
Reduce a boolean mask, removing all false slices in any dimension.
mask (ndarray with bool dtype) – The mask which is to be reduced
A boolean mask with no all False slices.