Couldn't you just `return Response({}, status=status.HTTP_404_NOT_FOUND)` directly here?

I highly encourage returning as early in a function as possible, if you know everything you need to do so.