Python: TopLevelCheck