You need to focus on both of these two things:
-
Regardless of the bends, is the pipe's height at output significantly lower than its height at input? If yes, you're good
-
Does the bendy part go up and down enough such that it could trap enough water to fully block the pipe? If yes, you're good
:)