There's a haunting version of this in Blade Runner 2049 that they call a "baseline test." Replicants have to prove they're sufficiently robotic by reciting extremely alienating things about themselves in rapid succession:
The baseline test seemed like an unnecessary deviance, and more like an active-duty psych exam measuring the psychological effects of the job.
It's also arguably the point of the novel/movies (I'll leave it at that to avoid spoilers).
[0]: https://nautil.us/blog/the-science-behind-blade-runners-voig... [1]: https://en.wikipedia.org/wiki/Do_Androids_Dream_of_Electric_... [2]: https://en.wikipedia.org/wiki/Blade_Runner [3]: https://en.wikipedia.org/wiki/Blade_Runner_2049
And narratively I think it works amazingly. The idea of forcing someone to prove that they're sufficiently inhuman ... shudder.