Python Check If Variable Exists In Module