class_docstr: Mixin class for flag and configuration settings management.
docstr: Get flag value from estimator class (only class flags).
  
  Parameters
  ----------
  flag_name : str
      Name of flag value.
  flag_value_default : any type
      Default/fallback value if flag is not found.
  flag_attr_name : str, optional, default = "_flags"
      name of the flag attribute that is read
  
  Returns
  -------
  flag_value :
      Value of `flag_name` flag in self. If not found, `flag_value_default`.
code: def _get_class_flag(
      cls, flag_name, flag_value_default=None, flag_attr_name="_flags"
  ):
      """Get flag value from estimator class (only class flags).
  
      Parameters
      ----------
      flag_name : str
          Name of flag value.
      flag_value_default : any type
          Default/fallback value if flag is not found.
      flag_attr_name : str, optional, default = "_flags"
          name of the flag attribute that is read
  
      Returns
      -------
      flag_value :
          Value of `flag_name` flag in self. If not found, `flag_value_default`.
      """
      collected_flags = cls._get_class_flags(
          flag_attr_name=flag_attr_name
      )
  
      return collected_flags.get(flag_name, flag_value_default)
  
file_path: sktime/sktime/base/_tagmanager.py
imports: import inspect
  from copy import deepcopy
label_desc: Use image node_id 2 for calling the _FlagManager obj's underlying member method code with example usage: obj._get_class_flag(cls, flag_name, flag_value_default, flag_attr_name) and returns: collected_flags