def validate_license_model(license_model):
 if (license_model not in VALID_LICENSE_MODELS):
  raise ValueError(('DBInstance LicenseModel must be one of: %s' % ', '.join(VALID_LICENSE_MODELS)))
 return license_model

def validate_license_model ( license_model ) : if ( license_model not in VALID_LICENSE_MODELS ) : raise ValueError ( ( 'DBInstance LicenseModel must be one of: %s' % ', ' . join ( VALID_LICENSE_MODELS ) ) ) return license_model
validate licensemodel for dbinstance .