Fix BatWorld::check() in python templates

Fix BatWorld::check() in python templates

(fix #309)