Well no, not exactly. If that's what's going on, then you are stepping outside the use case of kast itself. Kast is intended to return completely disambiguated terms. What you should do is run the code through AmbFilter, like we would reasonably expect kast to do to arbitrarily resolve the ambiguities, and then match on the warnings that this generates on the command line when this happens.