There is no such permission as "All workflow management permission". However there is a permission group that is called "WorkflowManagementPermissions" that contains a lot of workflow management permissions.
To check if a session has a permission you can do the following:
IPermission perm = IPermission.TASK_READ_ALL;
ivy.session.hasPermission(ivy.wf.getApplication().getSecurityDescriptor(), permission)
To check if a session has all permission of a group you can do:
ivy.wf.getApplication().getSecurityDescriptor().getPermissionGroupAccess(permissionGroup, ivy.session.getSessionUser()).isGrantedAllPermission())
For more details have a look at:
ISecurityDescriptor
ISecurityDescriptorType
Hope this helps
Regards