> Why not?

As in, I'm of the opinion that it is always better to access ```cube.ndim``` than ```cube.data.ndim```, even if the function itself is accessing the data further on.