code: def test_has_param():
      assert Nested.has_param("first")
      assert Nested.has_param("simple_1")
      assert Nested.has_param("simple_1.optional_nodefault")
      assert Nested.has_param("simple_2.mandatory_withdefault")
      assert not Nested.has_param("optional_nodefault")
      assert not Nested.has_param("xyz")
      assert not Nested.has_param("simple_1.simple_1")
  
imports: from dataclasses import dataclass, field
  from typing import Optional, Dict, List, Tuple, Union
  import pytest
  from summarize_from_feedback.utils import hyperparams
label_desc: Use image node_id 4 for calling a global function with example usage: test_has_param() without return types