Base function to check for no more movements.