```python
if isinstance(title, str):
    # do stuff
```