def METHOD_NAME(params: Dict[str, Any]) -> None:
    """Raise a FedbiomedModelError if `params` is not a dict."""
    if not isinstance(params, dict):
        raise FedbiomedModelError(
            f"{ErrorNumbers.FB622.value}: Got an object with type "
            f"'{type(params)}' while expecting a dict."
        )