```python
if len(hosterdetails) > 0 and hosterdetails[0].lower() == pluginname.lower():
```
this way you can avoid an indentation level