def is_zonal_mean(cube):
    """Check whether a cube was averaged over longitude."""
    for cell_met in cube.cell_methods:
        if cell_met.method == 'mean' and 'longitude' in cell_met.coord_names:
            return True