code: def check_config(self):
      if not self.kind:
          raise Exception("kind is must be specified")
      if not self.spec:
          raise Exception("spec is must be specified")
      if "action" not in self.spec:
          raise Exception("action is must be specified in spec")
      if "selector" not in self.spec:
          raise Exception("selector is must be specified in spec")
      return True
  
file_path: milvus/tests/benchmark/milvus_benchmark/chaos/chaos_mesh.py
imports: import logging
  import os
  from yaml import full_load
  from milvus_benchmark.chaos import utils
label_desc: Use image node_id 3 for calling the BaseChaos obj's underlying member method code with example usage: obj.check_config() and returns: True