code: def test_check_result_deserialization_from_json(iris):
      # Arrange
      plot = plotly.express.bar(iris)
  
      json_to_display = jsonpickle.dumps(
          {
              "type": "CheckResult",
              "check": {
                  "type": "DummyCheckClass",
                  "name": "Dummy Check",
                  "summary": "summary",
                  "params": {},
              },
              "display": [
                  {"type": "html", "payload": "hi"},
                  {"type": "plotly", "payload": plot.to_json()},
                  {
                      "type": "dataframe",
                      "payload": pd.DataFrame(
                          {"a": [1, 2], "b": [1, 2]}
                      ).to_dict(orient="records"),
                  },
              ],
              "header": "header",
              "value": 5,
          }
      )
  
      # Assert
      assert_that(isinstance(from_json(json_to_display), CheckResult))
  
imports: import contextlib
  import io
  import pathlib
  import typing
  from unittest.mock import Mock, patch
  import jsonpickle
  import pandas
  import plotly.express
  import plotly.io
  from hamcrest import all_of, any_of, assert_that, calling, equal_to, greater_than, has_entries, has_length, instance_of, is_, matches_regexp, only_contains, raises
  from ipywidgets import VBox, Widget
  from deepchecks.core.check_result import CheckFailure, CheckResult
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.tabular.checks import ColumnsInfo, MixedNulls
  from deepchecks.utils.json_utils import from_json
  from tests.common import DummyCheck, create_check_result, create_suite_result, instance_of_ipython_formatter
label_desc: Use image node_id 7 for calling a global function with example usage: test_check_result_deserialization_from_json(iris) without return types