docstr: Assert that an object is of type str.
docstr_tok: ["Assert","that","an","object","is","of","type","str","."]
code: def _checkType(self, obj: Any, identifier: str) -> None:
      """Assert that an object is of type str."""
      if not isinstance(obj, str):
          raise PySparkTypeError(
              error_class="NOT_STR",
              message_parameters={
                  "arg_name": identifier,
                  "arg_type": type(obj).__name__,
              },
          )
  
file_path: spark/python/pyspark/sql/connect/conf.py
imports: from pyspark.errors import PySparkValueError, PySparkTypeError
  from pyspark.sql.connect.utils import check_dependencies
  from typing import Any, Optional, Union, cast
  import warnings
  from pyspark import _NoValue
  from pyspark._globals import _NoValueType
  from pyspark.sql.conf import RuntimeConfig
  from pyspark.sql.connect import proto
  from pyspark.sql.connect.client import SparkConnectClient
label_desc: Use image node_id 6 for calling the RuntimeConf obj's underlying member method code with example usage: obj._checkType(obj, identifier) without return types