Yaocho APIs

This adds a few APIs that were useful for Yaocho. These need to get to prod before I can put Yaocho in the marketplace.

r?
You could wrap this in a `bool()` which would force it to be either True or False.

I don't know offhand if having it not be True or False could ever kick up a db error when doing the filtering.