code: def test_no_indexes_from_val_in_train():
      train_ds = dataset_from_dict(
          {"col1": [1, 2, 3, 4, 10, 11]}, "col1"
      )
      val_ds = dataset_from_dict({"col1": [20, 5, 6, 7]}, "col1")
      check_obj = IndexTrainTestLeakage()
      assert_that(
          check_obj.run(train_ds, val_ds).value, close_to(0, 0.01)
      )
  
file_path: deepchecks/tests/tabular/checks/train_test_validation/index_train_val_leakage_test.py
imports: import numpy
  import pandas
  from hamcrest import assert_that, calling, close_to, greater_than, has_items, has_length, raises
  from deepchecks.core.errors import DatasetValidationError, DeepchecksValueError
  from deepchecks.tabular.checks.train_test_validation.index_leakage import IndexTrainTestLeakage
  from deepchecks.tabular.dataset import Dataset
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 5 for calling a global function with example usage: test_no_indexes_from_val_in_train() without return types