Updating interaction from ESS vs SRC - how to distinguish?

Does anybody know how to positively distinguish between an update from ESS (ess.do) and an update from SRC ? $G.ess is set to true in both cases.