The above 5 lines can be replaced by
```ruby
!ipn_response.nil?
```