class_docstr: User-facing catalog API, accessible through `SparkSession.catalog`.
  
  This is a thin wrapper around its Scala implementation org.apache.spark.sql.catalog.Catalog.
  
  .. versionchanged:: 3.4.0
      Supports Spark Connect.
class_docstr_tok: ["User-facing","catalog","API",",","accessible","through","`","SparkSession.catalog","`",".","This","is","a","thin","wrapper","around","its","Scala","implementation","org.apache.spark.sql.catalog.Catalog",".","..","versionchanged",":",":","3.4.0","Supports","Spark","Connect","."]
docstr: Returns true if the table is currently cached in-memory.
  
  .. versionadded:: 2.0.0
  
  Parameters
  ----------
  tableName : str
      name of the table to get.
  
      .. versionchanged:: 3.4.0
          Allow ``tableName`` to be qualified with catalog name.
  
  Returns
  -------
  bool
  
  Examples
  --------
  >>> _ = spark.sql("DROP TABLE IF EXISTS tbl1")
  >>> _ = spark.sql("CREATE TABLE tbl1 (name STRING, age INT) USING parquet")
  >>> spark.catalog.cacheTable("tbl1")
  >>> spark.catalog.isCached("tbl1")
  True
  
  Throw an analysis exception when the table does not exist.
  
  >>> spark.catalog.isCached("not_existing_table")
  Traceback (most recent call last):
      ...
  AnalysisException: ...
  
  Using the fully qualified name for the table.
  
  >>> spark.catalog.isCached("spark_catalog.default.tbl1")
  True
  >>> spark.catalog.uncacheTable("tbl1")
  >>> _ = spark.sql("DROP TABLE tbl1")
docstr_tok: ["Returns","true","if","the","table","is","currently","cached","in-memory",".","..","versionadded",":",":","2.0.0","Parameters","--","--","--","--","--","tableName",":","str","name","of","the","table","to","get",".","..","versionchanged",":",":","3.4.0","Allow","``","tableName","``","to","be","qualified","with","catalog","name",".","Returns","--","--","--","-","bool","Examples","--","--","--","--",">",">",">","_","=","spark.sql","(","``","DROP","TABLE","IF","EXISTS","tbl1","''",")",">",">",">","_","=","spark.sql","(","``","CREATE","TABLE","tbl1","(","name","STRING",",","age","INT",")","USING","parquet","''",")",">",">",">","spark.catalog.cacheTable","(","``","tbl1","''",")",">",">",">","spark.catalog.isCached","(","``","tbl1","''",")","True","Throw","an","analysis","exception","when","the","table","does","not","exist",".",">",">",">","spark.catalog.isCached","(","``","not_existing_table","''",")","Traceback","(","most","recent","call","last",")",":","...","AnalysisException",":","...","Using","the","fully","qualified","name","for","the","table",".",">",">",">","spark.catalog.isCached","(","``","spark_catalog.default.tbl1","''",")","True",">",">",">","spark.catalog.uncacheTable","(","``","tbl1","''",")",">",">",">","_","=","spark.sql","(","``","DROP","TABLE","tbl1","''",")"]
code: def isCached(self, tableName: str) -> bool:
      """
      Returns true if the table is currently cached in-memory.
  
      .. versionadded:: 2.0.0
  
      Parameters
      ----------
      tableName : str
          name of the table to get.
  
          .. versionchanged:: 3.4.0
              Allow ``tableName`` to be qualified with catalog name.
  
      Returns
      -------
      bool
  
      Examples
      --------
      >>> _ = spark.sql("DROP TABLE IF EXISTS tbl1")
      >>> _ = spark.sql("CREATE TABLE tbl1 (name STRING, age INT) USING parquet")
      >>> spark.catalog.cacheTable("tbl1")
      >>> spark.catalog.isCached("tbl1")
      True
  
      Throw an analysis exception when the table does not exist.
  
      >>> spark.catalog.isCached("not_existing_table")
      Traceback (most recent call last):
          ...
      AnalysisException: ...
  
      Using the fully qualified name for the table.
  
      >>> spark.catalog.isCached("spark_catalog.default.tbl1")
      True
      >>> spark.catalog.uncacheTable("tbl1")
      >>> _ = spark.sql("DROP TABLE tbl1")
      """
      return self._jcatalog.isCached(tableName)
  
imports: import sys
  import warnings
  from typing import Any, Callable, NamedTuple, List, Optional, TYPE_CHECKING
  from pyspark.errors import PySparkTypeError
  from pyspark.storagelevel import StorageLevel
  from pyspark.sql.dataframe import DataFrame
  from pyspark.sql.session import SparkSession
  from pyspark.sql.types import StructType
label_desc: Use image node_id 22 for calling the Catalog obj's underlying member method code with example usage: obj.isCached(tableName) and returns: self