Appointments+ Active Session/Appointment

Hey Guys,

I would like to create a function that checks to see if an appointment is currently underway. The purpose is to use Appointments+ as a way to create/control sessions for Chat and other BP components.

What function can i use to check if an appointment is currently under way?

Thanks Guys