class_docstr: Serializes any CheckFailure instance into html format.
  
  Parameters
  ----------
  value : CheckFailure
      CheckFailure instance that needed to be serialized.
docstr: Serialize a CheckFailure instance into html format.
  
  Returns
  -------
  str
docstr_tok: ["Serialize","a","CheckFailure","instance","into","html","format",".","Returns","--","--","--","-","str"]
code: def serialize(self, full_html: bool = False, **kwargs) -> str:
      """Serialize a CheckFailure instance into html format.
  
      Returns
      -------
      str
      """
      header = self.prepare_header()
      content = "".join(
          [header, self.prepare_summary(), self.prepare_error_message()]
      )
      if full_html is True:
          return (
              "<html>"
              f"<head><title>{header}</title></head>"
              f'<body style="background-color: white;">{content}</body>'
              "</html>"
          )
      else:
          return content
  
file_path: deepchecks/deepchecks/core/serialization/check_failure/html.py
imports: from typing import Optional
  from deepchecks.core import check_result
  from deepchecks.core.serialization.abc import HtmlSerializer
label_desc: Use image node_id 2 for calling the CheckFailureSerializer obj's underlying member method code with example usage: obj.serialize(full_html) and returns: str, header, str, content, str, content