'Gets capacity info for multiple aggregates.'

def get_aggregate_capacities(self, aggregate_names):

    if (not isinstance(aggregate_names, list)):
        return {}
    aggregates = {}
    for aggregate_name in aggregate_names:
        aggregates[aggregate_name] = self.get_aggregate_capacity(aggregate_name)
    return aggregates
