```python
if line.strip():
    ...
```