code: def test_get_tags(model):
      # This test ensures that our estimators return the tags defined by
      # Scikit-learn and our cuML specific tags
  
      assert hasattr(model, "_get_tags")
  
      model_tags = model._get_tags()
  
      if hasattr(model, "_more_static_tags"):
          import inspect
  
          assert isinstance(
              inspect.getattr_static(model, "_more_static_tags"),
              staticmethod,
          )
      for tag, tag_type in tags.items():
          # preferred input order can be None or a string
          if tag == "preferred_input_order":
              if model_tags[tag] is not None:
                  assert isinstance(model_tags[tag], str)
          else:
              assert isinstance(model_tags[tag], tag_type)
  
      return True
  
imports: from sklearn.datasets import make_classification
  from cuml.testing.utils import ClassEnumerator
  from cuml.internals.base import Base
  from cuml.internals.safe_imports import cpu_only_import
  import inspect
  import pytest
  import cuml
  import cuml.internals.mixins
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_tags(model) and returns: True