last

last is set to true if the current foreach iteration is the last one.