OK. I will change it to be:

``` ruby
if addr and not addr.empty?
```