return true after each document elemente iteration