shuffled_ipairs map function can interrupt the iteration if it returns true