[Readme] Remove redundant check in example code

There is no code path, which allows to reach the removed wrapping if statement, so that the condition is false. Btw. what's wrong with the diff rendering here? First it wasn't able to render at all, now it is showing wrong indentation. :hushed: