How to Check if a User is a Site Admin via API

For “Centralized user management” checking site admin role by groups is not possible.
Site admins are not added to a group as the permissions for this role are given directly to the user.
=> User can be site admin role without any group.


User show detail: