docstr: Checks to see if setup has been run or not. If it has not been run, then
  an error is raised. Useful for operations that require setup to be run before
  they can be executed. e.g. in some experiments, setup must be run first before
  plotting can be done.
  
  Raises
  ------
  RuntimeError
      If setup has not been run.
docstr_tok: ["Checks","to","see","if","setup","has","been","run","or","not",".","If","it","has","not","been","run",",","then","an","error","is","raised",".","Useful","for","operations","that","require","setup","to","be","run","before","they","can","be","executed",".","e.g",".","in","some","experiments",",","setup","must","be","run","first","before","plotting","can","be","done",".","Raises","--","--","--","RuntimeError","If","setup","has","not","been","run","."]
code: def _check_setup_ran(self):
      """Checks to see if setup has been run or not. If it has not been run, then
      an error is raised. Useful for operations that require setup to be run before
      they can be executed. e.g. in some experiments, setup must be run first before
      plotting can be done.
  
      Raises
      ------
      RuntimeError
          If setup has not been run.
      """
      if not self._setup_ran:
          raise RuntimeError(
              "This function/method requires the users to run setup() first."
              "\nMore info: https://pycaret.gitbook.io/docs/get-started/quickstart"
          )
  
imports: import inspect
  import os
  import warnings
  from collections import defaultdict
  from typing import Any, BinaryIO, Callable, Dict, Optional, Union
  import cloudpickle
  import pandas
  import pycaret.internal.patches.sklearn
  import pycaret.internal.patches.yellowbrick
  import pycaret.internal.persistence
  from pycaret.internal.logging import get_logger
  from pycaret.utils.constants import DATAFRAME_LIKE
  from pycaret.utils.generic import LazyExperimentMapping
label_desc: Use image node_id 12 for calling the _PyCaretExperiment obj's underlying member method code with example usage: obj._check_setup_ran() without return types