Any time you see yourself writing the following:

```ruby
if condition != nil
```

...it's equivalent to writing the following:

```ruby
if condition
```

This is because an expression that evaluates to anything other than `nil` or `false` counts as `true`.