Only:
```python
if not hasattr(self, "HOSTER_NAME")
```
So if you leave it, the regex search will not be executed.
Also you won't have to worry about grouping the pattern.

Please leave it, there is no reason to remove it.