var_check function

Check if main effects for all interaction effects are included in the model