def METHOD_NAME(
    available_elasticity_dims: List[ElasticityDim], progressivity_of_elasticity: List[ElasticityDim]
) -> None:
    """
    Verifies that progressivity of elasticity is specified for all available elasticity dimensions.
    :param available_elasticity_dims: list of available elasticity dimension
    :param progressivity_of_elasticity: specifies in which order elasticity should be added
    """
    for dim in available_elasticity_dims:
        if dim not in progressivity_of_elasticity:
            raise ValueError(
                f"Invalid elasticity dimension {dim} specified as available in `elasticity` section."
                f" This dimension is not part of the progressivity_of_elasticity="
                f"{progressivity_of_elasticity} which defines order of adding elasticity dimension"
                f" by going from one training stage to another."
            )