Can anybody suggest a correct way of checking in python module exists and correctly installed from python program.