code: def test_infer_task_type_binary(
      iris_dataset_single_class, iris_random_forest_single_class
  ):
      context = Context(
          iris_dataset_single_class,
          model=iris_random_forest_single_class,
      )
  
      assert_that(context.task_type, equal_to(TaskType.BINARY))
      assert_that(context.observed_classes, has_items(0, 1))
      assert_that(context._model_classes, has_items(0, 1))
  
file_path: deepchecks/tests/utils/test_task_inference.py
imports: from hamcrest import assert_that, equal_to, has_items, is_
  from deepchecks.tabular import Context
  from deepchecks.tabular.utils.task_type import TaskType
label_desc: Use image node_id 1 for calling a global function with example usage: test_infer_task_type_binary(iris_dataset_single_class, iris_random_forest_single_class) without return types