```php
if (!$album instanceof AlbumInterface) {
    return $this->notFoundAction();
}
```