code: def isdriftdetector(model):
      return isinstance(extract_relevant(model), base.DriftDetector)
  
file_path: river/river/utils/inspect.py
imports: from __future__ import annotations
  import inspect
  from river import base
label_desc: Use image node_id 11 for calling a global function with example usage: isdriftdetector(model) and returns: isinstance