Can a Lottie file have triggers at specific keyframes?

I am trying to have an HTML element change when the animation hits a certain point (and then change back at another). Is there any way in which I can trigger a js script when reaching a certain keyframe, or a way to embed some sort of marker or something that would do that?