code: def render_header_if_needed(self, state, header_text, ds=""):
      sample_size = state.get("sample_size", {}).get(ds, None)
      if self.headers:
          sample_info = (
              ""
              if sample_size is None
              else f" (sample size: {sample_size})"
          )
          header = f"**{header_text}{sample_info}**"
          self.render_markdown(header)
  
file_path: autogluon/eda/src/autogluon/eda/visualization/jupyter.py
imports: from IPython.display import HTML, Markdown, display
label_desc: Use image node_id 3 for calling the JupyterMixin obj's underlying member method code with example usage: obj.render_header_if_needed(state, header_text, ds) without return types