code: def _is_classifier(estimator):
      return getattr(estimator, "_estimator_type", None) == "classifier"
  
label_desc: Use image node_id 2 for calling a global function with example usage: _is_classifier(estimator) and returns: unknown