Vent assist water tank flue

I have never seen flexible exhaust vent pipe around here before. Is this safe? It connects to ABS and then vents outside.
Any comments?
Thank you.