clean up is_excluded

testing against deep internals of couchdbkit isn't going to work well
when we switch to jsonobject (and is sort of for that reason not great code)

instead test explicitly for what we expect `doc` to be