code: def match_training_service(test_case_config, cur_training_service):
      case_ts = test_case_config["trainingService"]
      assert case_ts is not None
      if case_ts == "all":
          return True
      if cur_training_service in case_ts.split(" "):
          return True
      return False
  
imports: import argparse
  import datetime
  import json
  import os
  import subprocess
  import sys
  import time
  import yaml
  import validators
  from utils import CLEAR, EXPERIMENT_URL, GREEN, RED, REST_ENDPOINT, STATUS_URL, TRIAL_JOBS_URL, deep_update, dump_yml_content, get_experiment_dir, get_experiment_id, get_experiment_status, get_failed_trial_jobs, get_trial_stats, get_yml_content, parse_max_duration_time, print_experiment_log, print_trial_job_log, wait_for_port_available
label_desc: Use image node_id 11 for calling a global function with example usage: match_training_service(test_case_config, cur_training_service) and returns: False, True, True