class_docstr: Used as a base class for hyperparameter structs. They also need to be annotated with @dataclass.
class_docstr_tok: ["Used","as","a","base","class","for","hyperparameter","structs",".","They","also","need","to","be","annotated","with","@","dataclass","."]
code: def has_param(cls, flat_k, separator="."):
      return flat_k in _flat_type_map(cls, separator=separator)
  
imports: import typing
  from dataclasses import fields, is_dataclass
  from functools import lru_cache
  from typeguard import check_type
label_desc: Use image node_id 2 for calling the HParams obj's underlying member method code with example usage: obj.has_param(cls, flat_k, separator) and returns: unknown