[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 your diffs here?