[python] How to check if a python module exists without importing it