This code determines if the user must commit more

This code determines if the user must commit more