def METHOD_NAME(
    self, model: exp_models.ExplorationModel
) -> bool:
    """Checks if the exploration contains any state with any of the
    math interactions.
    Args:
        model: ExplorationModel. Model instance to be checked.
    Returns:
        bool. Whether the exploration contains math interactions.
    """
    return any(
        state_dict['interaction']['id'] in feconf.MATH_INTERACTION_IDS
        for state_dict in model.states.values())