Using the Epps effect to detect discrete processes