def METHOD_NAME(self):
    try:
        return IdentityProvider.objects.get(
            slug=self.idp_slug, owner=self.request.account, is_editable=True
        )
    except ObjectDoesNotExist:
        raise Http404()