code: def isanomalyfilter(model):
      model = extract_relevant(model)
      return ischildobject(obj=model, class_name="AnomalyFilter")
  
file_path: river/river/utils/inspect.py
imports: from __future__ import annotations
  import inspect
  from river import base
label_desc: Use image node_id 4 for calling a global function with example usage: isanomalyfilter(model) and returns: ischildobject