I think you can collapse these two lines (as well as the two below), because `(instance? SomeClass nil)` returns `false`.