code: def _check_world_size_and_may_skip(self) -> None:
      if not (self.world_size >= 2 and self.world_size % 2 == 0):
          self.skipTest(
              f"world_size is expected to be a multiple of 2 but, {self.world_size}"
          )
  
file_path: apex/apex/contrib/test/peer_memory/test_peer_halo_exchange_module.py
imports: import unittest
  import torch
  from torch.testing._internal import common_utils
  from apex.transformer.testing.distributed_test_base import NcclDistributedTestBase
label_desc: Use image node_id 2 for calling the TestPeerMemory obj's underlying member method code with example usage: obj._check_world_size_and_may_skip() without return types