How to check the current state of association of a profile at the endpoint

Refer the below link for the wiki - How to check the current state of association of a profile at the endpoint

https://wiki.comodo.com/frontend/web/topic/how-to-check-the-current-state-of-association-of-a-profile-at-the-endpoint

Thank you.