check in python module code by Trung Dung