code: def validate_class_args(self, **kwargs):
      Schema(
          {
              "optimize_mode": self.choices(
                  "optimize_mode", "maximize", "minimize"
              ),
              Optional("config_dedup"): bool,
          }
      ).validate(kwargs)
  
imports: import logging
  import sys
  import numpy
  from schema import Schema, Optional
  from smac.facade.epils_facade import EPILS
  from smac.facade.roar_facade import ROAR
  from smac.facade.smac_facade import SMAC
  from smac.scenario.scenario import Scenario
  from smac.utils.io.cmd_reader import CMDReader
  from ConfigSpaceNNI import Configuration
  import nni
  from nni import ClassArgsValidator
  from nni.common.hpo_utils import validate_search_space
  from nni.tuner import Tuner
  from nni.utils import OptimizeMode, extract_scalar_reward
  from .convert_ss_to_scenario import generate_scenario
label_desc: Use image node_id 1 for calling the SMACClassArgsValidator obj's underlying member method code with example usage: obj.validate_class_args() without return types