code: def get_conf_attr(self, attr, default=None):
          
          if attr in self.conf:
              return self.conf[attr]
          else:
              return default
docs: Get the value of a attribute in the configuration
  
          :param attr: The attribute
          :param default: If the attribute doesn't appear in the configuration
              return this value
          :return: The value of attribute in the configuration or the default
              value