fn should_encode_expn_that_defined(def_kind: DefKind) -> bool