<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get(self, section, val):
 """Get a setting or the default `Returns` The current value of the setting `val` or the default, or `None` if not found `section` (mandatory) (string) the section name in the config E.g. `"agent"` `val` (mandatory) (string) the section name in the config E.g. `"host"` """

        val = val.lower()
        if section in self.__config:
            if val in self.__config[section]:
                # logger.debug('get config %s %s = %s', section, val, self.__config[section][val])
                return self.__config[section][val]
        if section in self.__defaults:
            if val in self.__defaults[section]:
                # logger.debug('get defaults %s %s = %s', section, val, self.__defaults[section][val])
                return self.__defaults[section][val]
        return None