It may well be. The corpse was sentient previously, a doll has never had sentience at all, so that's a bit of a grey area. I'm now genuinely curious if it is or isn't classified as masturbation, and why
You could probably legally marry a flesh light and call it the queen of England if you wanted to. The ability to marry something, and "fuck" it, does not mean it's not masturbatory in function. But that's just my thought on it ¯\_(ツ)_/¯
Comments