Added Generic isConfigValid() function

Added Generic isConfigValid() function for mods/plugins.
Pass a full path to config file and string for valid config option and it'll fine it and return true if its here, false if it isn't.