Make verify_loop_configurations
a utility function
#9976
Merged
verify_loop_configurations
a utility function
#9976