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