def valid(self):
    if (not self.value):
        return True
    if (self.value in INSTALLFONTSCOMMAND['responseTypes']):
        return True
    else:
        return ("Unknown response type: '%s'. Possible: %s" % (self.value, INSTALLFONTSCOMMAND['responseTypes']))
def valid(self):
    if (not self.value):
        return True
    if (self.value in INSTALLFONTSCOMMAND['responseTypes']):
        return True
    else:
        return ("Unknown response type: '%s'. Possible: %s" % (self.value, INSTALLFONTSCOMMAND['responseTypes']))