code: def common_dst_tests_setup():
      use_gpu_in_tests = os.environ.get("USE_GPU", "false").lower() in [
          "1",
          "true",
      ]
      use_gpu_in_tests = use_gpu_in_tests and torch.cuda.is_available()
      DistributedHelper.init_distributed(
          1234, use_cuda=use_gpu_in_tests
      )
      return use_gpu_in_tests
  
file_path: avalanche/tests/distributed/distributed_test_utils.py
imports: import contextlib
  import os
  import torch
  from avalanche.distributed import DistributedHelper
label_desc: Use image node_id 1 for calling a global function with example usage: common_dst_tests_setup() and returns: use_gpu_in_tests