The `if` statement is now redundant to the `assert`, please remove the `if` statement.