@classmethod
    def valueof(cls, name,  values):
        i = cls.getnames().index(name)
        if cls._confmatrix[i][1] == coreapi.CONF_DATA_TYPE_BOOL and \
           values[i] != "":
            return cls.booltooffon(values[i])
        else:
            return values[i]
Helper to return a value by the name defined in confmatrix.
dataset/ETHPy150Open coreemu/core/daemon/core/conf.py/Configurable.valueof