'Obtain and print quarantine statistics
:param hosts: set of hosts to check. in the format of:
set([(\'127.0.0.1\', 6020), (\'127.0.0.2\', 6030)])'

def quarantine_check(self, hosts):

    objq = {}
    conq = {}
    acctq = {}
    stats = {}
    recon = Scout('quarantined', self.verbose, self.suppress_errors, self.timeout)
    print(('[%s]    Checking    quarantine' % self._ptime()))
    for (url, response, status, ts_start, ts_end) in self.pool.imap(recon.scout, hosts):
        if (status == 200):
            objq[url] = response['objects']
            conq[url] = response['containers']
            acctq[url] = response['accounts']
            for key in response.get('policies', {}):
                pkey = ('objects_%s' % key)
                stats.setdefault(pkey, {})
                stats[pkey][url] = response['policies'][key]['objects']
    stats.update({'objects': objq, 'containers': conq, 'accounts': acctq})
    for item in stats:
        if (len(stats[item]) > 0):
            computed = self._gen_stats(stats[item].values(), name=('quarantined_%s' % item))
            self._print_stats(computed)
        else:
            print('No    hosts    returned    valid    data.')
    print(('=' * 79))
