class_docstr: Serializes any CheckResult instance into ipywidgets.Widget instance.
  
  Parameters
  ----------
  value : CheckResult
      CheckResult instance that needed to be serialized.
class_docstr_tok: ["Serializes","any","CheckResult","instance","into","ipywidgets.Widget","instance",".","Parameters","--","--","--","--","--","value",":","CheckResult","CheckResult","instance","that","needed","to","be","serialized","."]
docstr: Serialize a CheckResult instance into ipywidgets.Widget instance.
  
  Parameters
  ----------
  output_id : Optional[str], default None
      unique output identifier that will be used to form anchor links
  check_sections : Optional[Sequence[Literal['condition-table', 'additional-output']]], default None
      sequence of check result sections to include into theoutput,
      in case of 'None' all sections will be included
  plotly_to_image : bool, default False
      whether to transform Plotly figure instance into static image or not
  is_for_iframe_with_srcdoc : bool, default False
      anchor links, in order to work within iframe require additional prefix
      'about:srcdoc'. This flag tells function whether to add that prefix to
      the anchor links or not
  
  Returns
  -------
  ipywidgets.VBox
docstr_tok: ["Serialize","a","CheckResult","instance","into","ipywidgets.Widget","instance",".","Parameters","--","--","--","--","--","output_id",":","Optional","[","str","]",",","default","None","unique","output","identifier","that","will","be","used","to","form","anchor","links","check_sections",":","Optional","[","Sequence","[","Literal","[","'condition-table","'",",","'additional-output","'","]","]","]",",","default","None","sequence","of","check","result","sections","to","include","into","theoutput",",","in","case","of","'None","'","all","sections","will","be","included","plotly_to_image",":","bool",",","default","False","whether","to","transform","Plotly","figure","instance","into","static","image","or","not","is_for_iframe_with_srcdoc",":","bool",",","default","False","anchor","links",",","in","order","to","work","within","iframe","require","additional","prefix","'about",":","srcdoc","'",".","This","flag","tells","function","whether","to","add","that","prefix","to","the","anchor","links","or","not","Returns","--","--","--","-","ipywidgets.VBox"]
code: def serialize(
      self,
      output_id: t.Optional[str] = None,
      check_sections: t.Optional[
          t.Sequence[html.CheckResultSection]
      ] = None,
      plotly_to_image: bool = False,
      is_for_iframe_with_srcdoc: bool = False,
      **kwargs,
  ) -> VBox:
      """Serialize a CheckResult instance into ipywidgets.Widget instance.
  
      Parameters
      ----------
      output_id : Optional[str], default None
          unique output identifier that will be used to form anchor links
      check_sections : Optional[Sequence[Literal['condition-table', 'additional-output']]], default None
          sequence of check result sections to include into theoutput,
          in case of 'None' all sections will be included
      plotly_to_image : bool, default False
          whether to transform Plotly figure instance into static image or not
      is_for_iframe_with_srcdoc : bool, default False
          anchor links, in order to work within iframe require additional prefix
          'about:srcdoc'. This flag tells function whether to add that prefix to
          the anchor links or not
  
      Returns
      -------
      ipywidgets.VBox
      """
      # Need this in order to create kernel see https://github.com/jupyter-widgets/ipywidgets/issues/3729
      import ipykernel.ipkernel  # pylint: disable=unused-import,import-outside-toplevel # noqa: F401
  
      sections_to_include = html.verify_include_parameter(
          check_sections
      )
      sections: t.List[Widget] = [
          self.prepare_header(output_id),
          self.prepare_summary(),
      ]
  
      if "condition-table" in sections_to_include:
          sections.append(
              self.prepare_conditions_table(output_id=output_id)
          )
  
      if "additional-output" in sections_to_include:
          sections.append(
              self.prepare_additional_output(
                  output_id=output_id,
                  plotly_to_image=plotly_to_image,
                  is_for_iframe_with_srcdoc=is_for_iframe_with_srcdoc,
              )
          )
  
      return normalize_widget_style(VBox(children=sections))
  
imports: import typing
  import pandas
  import plotly.graph_objects
  from ipywidgets import HTML, Tab, VBox, Widget
  from plotly.basedatatypes import BaseFigure
  from deepchecks.core import check_result
  from deepchecks.core.serialization.abc import WidgetSerializer
  from deepchecks.core.serialization.common import normalize_widget_style
  from .None import html
label_desc: Use image node_id 2 for calling the CheckResultSerializer obj's underlying member method code with example usage: obj.serialize(output_id, check_sections, plotly_to_image, is_for_iframe_with_srcdoc) and returns: normalize_widget_style