You could type:
```python
  if startCoords
```
instead of:
```python
 if startCoords != []
```