Detect if MKR 1000 is charging

I can see on MKR1000 shematics that this orange led is connected to PA21_TCC0-W7. But i do not know how i can read PA21 from an arduino sketch ...