code: def assert_leaderboard_contains_all_models(
      leaderboard: pd.DataFrame, include_ensemble: bool = True
  ):
      expected_models = set(ALL_MODELS)
      if include_ensemble:
          expected_models = expected_models.union({"WeightedEnsemble"})
      failed_models = expected_models.difference(
          set(leaderboard["model"])
      )
      assert len(failed_models) == 0, f"Failed models: {failed_models}"
  
file_path: autogluon/timeseries/tests/smoketests/test_all_models.py
imports: from typing import Tuple
  import numpy
  import pandas
  import pytest
  from pkg_resources import parse_version
  from autogluon.timeseries import TimeSeriesPredictor
  from autogluon.timeseries.dataset.ts_dataframe import ITEMID, TIMESTAMP, TimeSeriesDataFrame
  from autogluon.timeseries.utils.datetime.seasonality import DEFAULT_SEASONALITIES
label_desc: Use image node_id 2 for calling a global function with example usage: assert_leaderboard_contains_all_models(leaderboard, include_ensemble) without return types