Use the newly introduced REST-VAR for testing the end of the list.