Checking to see if everything is committed