fn allowed_in_nonsecure_contexts(permission_name: &PermissionName) -> bool