We now want to make sure that we get rid of checks on role.isDefault and replace them with checks on role.specialRole:
- For default roles, this is `role.specialRole === ${specialRoles.DEFAULT_ROLE}
- For admin roles, this is `role.specialRole === ${specialRoles.ADMIN_ROLE}
Introducing a new utility function roleIsDefaultRole and updating roleIsAdminRole in this diff so we no longer have such hacky checks (and so I can update other callsites of role.isDefault with roleIsDefaultRole)
Part of ENG-5993
Depends on D10115