class_docstr: Serializes any CheckResult instance into HTML format.
  
  Parameters
  ----------
  value : CheckResult
      CheckResult instance that needed to be serialized.
class_docstr_tok: ["Serializes","any","CheckResult","instance","into","HTML","format",".","Parameters","--","--","--","--","--","value",":","CheckResult","CheckResult","instance","that","needed","to","be","serialized","."]
docstr: Prepare the header section of the html output.
docstr_tok: ["Prepare","the","header","section","of","the","html","output","."]
code: def prepare_header(self, output_id: t.Optional[str] = None) -> str:
      """Prepare the header section of the html output."""
      header = self.value.get_header()
      header = f"<b>{header}</b>"
      if output_id is not None:
          check_id = self.value.get_check_id(output_id)
          return f'<h4 id="{check_id}">{header}</h4>'
      else:
          return f"<h4>{header}</h4>"
  
imports: import textwrap
  import typing
  from plotly.basedatatypes import BaseFigure
  from plotly.io import to_html
  from typing_extensions import Literal
  from deepchecks.core import check_result
  from deepchecks.core.resources import requirejs_script
  from deepchecks.core.serialization.abc import ABCDisplayItemsHandler, HtmlSerializer
  from deepchecks.core.serialization.common import aggregate_conditions, form_output_anchor, plotlyjs_script
  from deepchecks.core.serialization.dataframe.html import DataFrameSerializer
  from deepchecks.utils.html import imagetag, linktag
label_desc: Use image node_id 3 for calling the CheckResultSerializer obj's underlying member method code with example usage: obj.prepare_header(output_id) and returns: str, check_id, str, header, str, str, header, str