class_docstr: Base class for check.
class_docstr_tok: ["Base","class","for","check","."]
code: def _prepare_config(
      self, params: Dict[str, Any], include_version: bool = True
  ) -> CheckConfig:
      module_name, type_name = common.importable_name(self)
      conf = CheckConfig(
          class_name=type_name,
          module_name=module_name,
          params=params,
      )
      if include_version is True:
          conf["version"] = __version__
      return conf
  
imports: import abc
  import enum
  import json
  from collections import OrderedDict
  from typing import Any, Callable, ClassVar, Dict, List, Optional, Type, Union, cast
  from typing_extensions import NotRequired, Self, TypedDict
  from deepchecks import __version__
  from deepchecks.core import check_result
  from deepchecks.core.condition import Condition, ConditionCategory, ConditionResult
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.utils.function import initvars
  from deepchecks.utils.strings import get_docs_summary, split_camel_case
  from .None import common
label_desc: Use image node_id 12 for calling the BaseCheck obj's underlying member method code with example usage: obj._prepare_config(params, include_version) and returns: conf