code: def has_throttled(self):
          
          for file, value in self.cpu_throttle_count.items():
              try:
                  new_value = int(util.read_file(file))
                  if new_value > value:
                      return True
              except Exception as e:
                  logging.warning('Cannot read throttling count of CPU from kernel: %s', e)
          return False
docs: Check whether any of the CPU cores monitored by this instance has
          throttled since this instance was created.
          @return a boolean value