code: def GetValuesByAttrib(self, attribute):
      
  
      if attribute not in self._options_cls.ValidOptions():
        raise ValueError("'%s': Not a valid attribute." % attribute)
  
      result = []
      for value in self.values:
        if attribute in value.OptionNames():
          result.append(value.name)
  
      return result
docs: Returns the list of values that have a particular attribute.