Use the mut_excl_roles function to determine whether any two roles assigned to you are mutually exclusive and the level at which they are mutually exclusive:
mut_excl(role1, role2, {membership | activation})
Any user can execute mut_excl_roles. If the specified roles, or any role contained by either specified role, are mutually exclusive, mut_excl_roles returns 1; if the roles are not mutually exclusive, mut_excl_roles returns 0.