code: def get(self, element, selected=False):
          
          if self._attribute_map is None:
              raise RuntimeError('Attempted to access theme attribute before '
                                 'calling initialize_curses_theme()')
  
          if selected or self._selected:
              element = '@{0}'.format(element)
  
          return self._attribute_map[element]
docs: Returns the curses attribute code for the given element.