i would not wrap the whole thing in an if / else block. You can do it like this:

```php
if ($this->id === null || BackendPartnersModel::partnerExists($this->id) === false) {
    // redirect here
}
// Rest of the method
```