Use Array.some instead.