code: def test_no_config_snapshots_cli_option():
      """
      Validates that --no-config-snapshots works as expected.
      """
      # Required to stop torchserve here so that all config files gets deleted
      test_utils.stop_torchserve()
      test_utils.delete_all_snapshots()
      test_utils.start_torchserve(no_config_snapshots=True)
      test_utils.stop_torchserve()
      assert len(glob.glob("logs/config/*.cfg")) == 0
  
imports: import platform
  import time
  import os
  import glob
  import requests
  import json
  import test_utils
label_desc: Use image node_id 10 for calling a global function with example usage: test_no_config_snapshots_cli_option() without return types