CDAP-489: moved check delivered events to common part