def has_object_permission(self, request, view, obj):
        """
        Checks if user is superuser or it has permission over object

        Parameters
        ----------
        request
        view
        obj

        Returns
        -------

        """
        return (
            request.user.is_superuser or
            super(IAWPOrSuperuser, self).has_object_permission(
                request=request, view=view, obj=obj
            )
        )
def has_object_permission ( self , request , view , obj ) : return ( request . user . is_superuser or super ( IAWPOrSuperuser , self ) . has_object_permission ( request = request , view = view , obj = obj ) )
Checks if user is superuser or it has permission over object

        Parameters
        ----------
        request
        view
        obj

        Returns
        -------