code: def get_checkpoints_for_actor(actor_id):
      
      checkpoint_info = ray.worker.global_state.actor_checkpoint_info(actor_id)
      if checkpoint_info is None:
          return []
      checkpoints = [
          Checkpoint(checkpoint_id, timestamp) for checkpoint_id, timestamp in
          zip(checkpoint_info["CheckpointIds"], checkpoint_info["Timestamps"])
      ]
      return sorted(
          checkpoints,
          key=lambda checkpoint: checkpoint.timestamp,
          reverse=True,
      )
docs: Get the available checkpoints for the given actor ID, return a list
      sorted by checkpoint timestamp in descending order.