Don't need the empty parens, and this can be a one-liner:

```
svc.post_annotation if event == "alert"
```