Since `inner` will have been extended with `Reek::Source::SexpExtensions::IfNode`, it will have the `#condition` method that gives you the same result (I've also removed the superfluous `NilCheck` here:

```ruby
  if node.condition
```