System function to check eye tracking status?

Is there a system function to check eye tracking status? Something basic with no privacy information, just are eyes being tracked or not. I develop accessible apps and I would like to be able to take an action if a user closes their eyes for a period of time.

System function to check eye tracking status?
 
 
Q