def IsInitialized(self, debug_strs=None):
    initialized = 1
    if (not self.has_value_):
        initialized = 0
        if (debug_strs is not None):
            debug_strs.append('Required field: value not set.')
    return initialized
def IsInitialized(self, debug_strs=None):
    initialized = 1
    if (not self.has_value_):
        initialized = 0
        if (debug_strs is not None):
            debug_strs.append('Required field: value not set.')
    return initialized