code: def has_swapped(self):
          
          new_values = self._read_swap_count()
          for key, new_value in new_values.items():
              old_value = self.swap_count.get(key, 0)
              if new_value > old_value:
                  return True
          return False
docs: Check whether any swapping occured on this system since this instance was created.
          @return a boolean value