The django query docs made it seem like running the .exists didn't save you a lot, since you were just going to turn around and run the same query over again, so I thought this seemed like a reasonable response.

I used to hate the ternary operator, and in C I still do, but it seems perfect for representing these kinds of defensive initialize-if-empty cases in a compact way that reads easily left-to-right.