code: def check_comm_nccl_opts(comm_nccl_opts):
      if comm_nccl_opts is None:
          pytest.skip(
              "Communicator test is disabled. You can turn it on by an option `--test-communicator`."
          )
      if len(comm_nccl_opts.devices) < 2:
          pytest.skip(
              "Communicator test is disabled. Use more than 1 gpus."
          )
  
file_path: nnabla/python/test/communicator/test_all_reduce.py
imports: import pytest
  import nnabla
  import nnabla.parametric_functions
  import numpy
  from nnabla.testing import assert_allclose
  from six.moves import reduce
label_desc: Use image node_id 1 for calling a global function with example usage: check_comm_nccl_opts(comm_nccl_opts) without return types