How can my app detect if user is enrolled? Is there an API for ADSelfService Plus?

How can my app detect if user is enrolled? Is there an API for ADSelfService Plus?

I have a web app where I need to detect if the current user has already enrolled in the self-service app powered by ADSelfService. What's the best way I can go about checking this from my web app? Ideally, I'd like to add an HTML widget or call the API via JavaScript. Is that possible?

If not, how do I access the raw database to query it directly?

                  New to ADSelfService Plus?