Condense various db callback doc types into a single generic booleanCallback.