class_docstr: base model for automl tuning
class_docstr_tok: ["base","model","for","automl","tuning"]
docstr: Do necessary checking for config
  :param config:
  :return:
docstr_tok: ["Do","necessary","checking","for","config",":","param","config",":",":","return",":"]
code: def _check_config(self, **config):
      """
      Do necessary checking for config
      :param config:
      :return:
      """
      config_parameters = set(config.keys())
      if not config_parameters.issuperset(
          self._get_required_parameters()
      ):
          invalidInputError(
              False,
              "Missing required parameters in configuration. "
              + "Required parameters are: "
              + str(self._get_required_parameters()),
          )
      if (
          self.check_optional_config
          and not config_parameters.issuperset(
              self._get_optional_parameters()
          )
      ):
          invalidInputError(
              False,
              "Missing optional parameters in configuration. "
              + "Optional parameters are: "
              + str(self._get_optional_parameters()),
          )
      return True
  
file_path: BigDL/python/orca/src/bigdl/orca/automl/model/abstract.py
imports: from abc import ABC, abstractmethod
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 7 for calling the BaseModel obj's underlying member method code with example usage: obj._check_config() and returns: True