class_docstr: Check test data that is dated earlier than the latest date in train.
  
  Parameters
  ----------
  n_samples : int , default: 1_000_000
      number of samples to use for this check.
  random_state : int, default: 42
      random seed for all check internals.
code: def __init__(
      self, n_samples: int = 1_000_000, random_state: int = 42, **kwargs
  ):
      super().__init__(**kwargs)
      self.n_samples = n_samples
      self.random_state = random_state
  
file_path: deepchecks/deepchecks/tabular/checks/train_test_validation/date_train_test_leakage_overlap.py
imports: from deepchecks.core import CheckResult, ConditionCategory, ConditionResult
  from deepchecks.tabular import Context, TrainTestCheck
  from deepchecks.utils.strings import format_datetime, format_percent
label_desc: Use image node_id 1 to create a new DateTrainTestLeakageOverlap object from inherited base classes: TrainTestCheck with example: obj = DateTrainTestLeakageOverlap(n_samples, random_state)