I would put this code first, as it is short:   
```if video.youtube_id not in availble_srts:
    raise NoSubs
else:
...```