Removed debugging code
I randomly came across this code when messing around with some Mypy configurations. It looks like this code depends on third party packages which we don't even use in the code base. They also haven't been touched in 7-8 years so I assume this is dead code.
