code: def _show_status_for_work(self, work):
      
      work_count = len(work.work)
      work_completed = {}
      work_completed_count = 0
      for v in itervalues(work.work):
        if v['is_completed']:
          work_completed_count += 1
          worker_id = v['claimed_worker_id']
          if worker_id not in work_completed:
            work_completed[worker_id] = {
                'completed_count': 0,
                'last_update': 0.0,
            }
          work_completed[worker_id]['completed_count'] += 1
          work_completed[worker_id]['last_update'] = max(
              work_completed[worker_id]['last_update'],
              v['claimed_worker_start_time'])
      print('Completed {0}/{1} work'.format(work_completed_count,
                                            work_count))
      for k in sorted(iterkeys(work_completed)):
        last_update_time = time.strftime(
            '%Y-%m-%d %H:%M:%S',
            time.localtime(work_completed[k]['last_update']))
        print('Worker {0}: completed {1}   last claimed work at {2}'.format(
            k, work_completed[k]['completed_count'], last_update_time))
docs: Shows status for given work pieces.
  
      Args:
        work: instance of either AttackWorkPieces or DefenseWorkPieces