code: def has_pytest_benchmark():
      try:
          import pytest_benchmark  # NOQA
  
          return True
      except ImportError:
          return False
  
imports: import platform
  from cuml.internals.safe_imports import gpu_only_import, UnavailableError
  from distutils.version import LooseVersion
label_desc: Use image node_id 9 for calling a global function with example usage: has_pytest_benchmark() and returns: True, False