Checks if the user defined by authorizationContext is a global admin
Parameters
authorizationContext
defines the user to check for isAdmin
Throws
if checkPermission is true and the user is not an admin
Checks if the user defined by authorizationContext is a global admin
defines the user to check for isAdmin
if checkPermission is true and the user is not an admin