It does the same as a simple isinstance check, but adds a little layer of obscurity on top, which the type checker can't penetrate.