Return true if the spatiotemporal box has Z dimension.
In that case, the maximum Z value is returned in the output argument.