Data of person entity from API

Is there any way I can get via API whether the user has admin rights or not?