The current code style in pynag.Model would dictate that this would rather be written as:

```
if not self.host_name:
    return
```