How do I tell if a given user is a Jira administator from app backend?

Here is a proper request in Jira: [ACJIRA-1857] - Ecosystem Jira
and similar thread in community: Permission check when handling webhook - #5 by kkercz