code: def assert_equal_forecast_config(
      forecast_config_1: ForecastConfig,
      forecast_config_2: ForecastConfig,
  ):
      """Asserts equality between two instances of `ForecastConfig`.
      Raises an error in case of parameter mismatch.
  
      Parameters
      ----------
      forecast_config_1: `ForecastConfig`
          First instance of the
          :class:`~greykite.framework.templates.model_templates.ForecastConfig` for comparing.
      forecast_config_2: `ForecastConfig`
          Second instance of the
          :class:`~greykite.framework.templates.model_templates.ForecastConfig` for comparing.
  
      Raises
      -------
      AssertionError
          If `ForecastConfig`s do not match, else returns None.
      """
      if not isinstance(forecast_config_1, ForecastConfig):
          raise ValueError(
              f"The input ({forecast_config_1}) is not a member of 'ForecastConfig' class."
          )
      if not isinstance(forecast_config_2, ForecastConfig):
          raise ValueError(
              f"The input ({forecast_config_2}) is not a member of 'ForecastConfig' class."
          )
  
      assert_equal(
          forecast_config_1.to_dict(), forecast_config_2.to_dict()
      )
  
imports: import json
  from dataclasses import dataclass
  from typing import Any
  from typing import Callable
  from typing import Dict
  from typing import List
  from typing import Optional
  from typing import Type
  from typing import TypeVar
  from typing import Union
  from typing import cast
  from greykite.common.python_utils import assert_equal
label_desc: Use image node_id 18 for calling a global function with example usage: assert_equal_forecast_config(forecast_config_1, forecast_config_2) without return types