workmail_get_impersonation_role_effect function

Tests whether the given impersonation role can impersonate a target user