code: def test_multiple_delegates():
      assert _IfHasDelegateTester().fit().predict2()
      assert not hasattr(_IfHasDelegateTester(), "predict2")
  
file_path: pmdarima/pmdarima/utils/tests/test_meta.py
imports: from pmdarima.utils.metaestimators import if_has_delegate
label_desc: Use image node_id 2 for calling a global function with example usage: test_multiple_delegates() without return types