We make all predicates expect an already inspected DeclInfo, and
introduce a function to run such a predicate after inspecting it.
Checks that were only used once have been inlined.
Before every call to inspectThisDecl the caller was checking IsFilled,
so we move that into the function itself.
Another idea for naming: hasDeclThat, then calls read like hasDeclThat(isOfSomeKind).