code: def test_multi_wrapped_checkpoint_io_initialization():
      base_ckpt_io = TorchCheckpointIO()
      wrap_ckpt = AsyncCheckpointIO(base_ckpt_io)
      ckpt_io = AsyncCheckpointIO(wrap_ckpt)
      assert ckpt_io.checkpoint_io is wrap_ckpt
      assert ckpt_io.checkpoint_io.checkpoint_io is base_ckpt_io
      assert ckpt_io._base_checkpoint_io_configured is True
      assert (
          ckpt_io.checkpoint_io._base_checkpoint_io_configured is True
      )
  
      wrap_ckpt = AsyncCheckpointIO()
      ckpt_io = AsyncCheckpointIO(wrap_ckpt)
      trainer = Trainer(accelerator="cpu", plugins=[ckpt_io])
      trainer.strategy.checkpoint_io
      assert ckpt_io.checkpoint_io is wrap_ckpt
      assert isinstance(
          ckpt_io.checkpoint_io.checkpoint_io, TorchCheckpointIO
      )
      assert ckpt_io._base_checkpoint_io_configured is True
      assert (
          ckpt_io.checkpoint_io._base_checkpoint_io_configured is True
      )
  
file_path: pytorch-lightning/tests/tests_pytorch/plugins/test_checkpoint_io_plugin.py
imports: import os
  from pathlib import Path
  from typing import Any, Dict, Optional
  from unittest.mock import MagicMock, Mock
  import torch
  from lightning.fabric.plugins import CheckpointIO, TorchCheckpointIO
  from lightning.fabric.utilities.types import _PATH
  from lightning.pytorch import Trainer
  from lightning.pytorch.callbacks import ModelCheckpoint
  from lightning.pytorch.demos.boring_classes import BoringModel
  from lightning.pytorch.plugins.io.async_plugin import AsyncCheckpointIO
  from lightning.pytorch.strategies import SingleDeviceStrategy
label_desc: Use image node_id 3 for calling a global function with example usage: test_multi_wrapped_checkpoint_io_initialization() without return types