code: def get_attribute(self, colourmode, mode, name, part=None):
          
          thmble = self._config[mode][name]
          if part is not None:
              thmble = thmble[part]
          thmble = thmble or DUMMYDEFAULT
          return thmble[self._colours.index(colourmode)]
docs: returns requested attribute
  
          :param mode: ui-mode (e.g. `search`,`thread`...)
          :type mode: str
          :param name: of the atttribute
          :type name: str
          :param colourmode: colour mode; in [1, 16, 256]
          :type colourmode: int
          :rtype: urwid.AttrSpec