How to check if an event has a loop region

Hello guys, quick question:

Is there any way of checking if an event (vis it’s instance or descriptor) has any loop region?

Would EventDescription::isOneshot() work for you? Event’s with a loop region will return false.

Indeed that’s how I was trying… but for some reason if an event instance from a Description is already playing and I try to get the description again (with StudioSystem.getEventByID()) sometimes the isOneshot was returning true, and some time false. I think it might be a bug. For now I’m caching the isOneShot at the beginning and then it works as expected.

Thanks.