code: def _check_tag_cond(obj, filter_tags=None):
      """Check whether object satisfies filter_tags condition.
  
      Parameters
      ----------
      obj: object inheriting from sktime BaseObject
      filter_tags: dict of (str or list of str), default=None
          subsets the returned objects as follows:
              each key/value pair is statement in "and"/conjunction
                  key is tag name to sub-set on
                  value str or list of string are tag values
                  condition is "key must be equal to value, or in set(value)"
  
      Returns
      -------
      cond_sat: bool, whether estimator satisfies condition in filter_tags
      """
      if not isinstance(filter_tags, dict):
          raise TypeError("filter_tags must be a dict")
  
      cond_sat = True
  
      for key, value in filter_tags.items():
          if not isinstance(value, list):
              value = [value]
          cond_sat = cond_sat and obj.get_class_tag(key) in set(value)
  
      return cond_sat
  
file_path: sktime/sktime/utils/_testing/scenarios_getter.py
imports: from inspect import isclass
  from sktime.base import BaseObject
  from sktime.registry import BASE_CLASS_LIST, BASE_CLASS_SCITYPE_LIST, scitype
  from sktime.utils._testing.scenarios_aligners import scenarios_aligners
  from sktime.utils._testing.scenarios_classification import scenarios_classification, scenarios_early_classification, scenarios_regression
  from sktime.utils._testing.scenarios_clustering import scenarios_clustering
  from sktime.utils._testing.scenarios_forecasting import scenarios_forecasting
  from sktime.utils._testing.scenarios_param_est import scenarios_param_est
  from sktime.utils._testing.scenarios_transformers import scenarios_transformers
  from sktime.utils._testing.scenarios_transformers_pairwise import scenarios_transformers_pairwise, scenarios_transformers_pairwise_panel
label_desc: Use image node_id 3 for calling a global function with example usage: _check_tag_cond(obj, filter_tags) and returns: cond_sat