Would be more natural to return the mask and let applications check if any(mask). _Originally posted by @benk-mira in https://github.com/MiraGeoscience/geoh5py/pull/568#discussion_r1664563592_