Python Class / Module to compare or check a config file