code: def is_correct_image_property_drift_result(with_display: bool = True):
      value_assertion = all_of(
          instance_of(dict),
          *[
              has_key(single_property["name"])
              for single_property in default_image_properties
          ],
      )
  
      if with_display:
          display_assertion = all_of(
              instance_of(list),
              has_length(greater_than(1)),
              # TODO
          )
      else:
          display_assertion = all_of(
              instance_of(list),
              has_length(0),
              # TODO
          )
      return all_of(
          instance_of(CheckResult),
          has_properties(
              {
                  "value": value_assertion,
                  "header": "Image Property Drift",
                  "display": display_assertion,
              }
          ),
      )
  
file_path: deepchecks/tests/vision/checks/train_test_validation/image_property_drift_test.py
imports: import numpy
  from hamcrest import all_of, assert_that, calling, close_to, equal_to, greater_than, has_entries, has_key, has_length, has_properties, instance_of, raises
  from deepchecks.core import CheckResult
  from deepchecks.core.errors import NotEnoughSamplesError
  from deepchecks.vision.checks import ImagePropertyDrift
  from deepchecks.vision.utils.image_properties import default_image_properties
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 8 for calling a global function with example usage: is_correct_image_property_drift_result(with_display) and returns: all_of