Allow querying for code-completion-enabled a little more thoroughly.