title: Python check if function exists without running it
body: <p>In python how do you check if a function exists without actually running the function (i.e. using try)? I would be testing if it exists in a module.</p>