`getContent()` will never return false which makes that the second part of the condition is always true.