validate_plot_constant function

Helper function to validate whether the current plot corresponds to a constant model