def _set_string_value(self, value):
        if not isinstance(value, str) or isinstance(value, unicode):
            raise ValueError, 'value must be of type str'
        if self.allowed_values:
            choices = self.allowed_values.split(',')
            if choices not in value:
                raise ValueError, 'value must be in %s' % self.allowed_values
        self._value = value
dataset/ETHPy150Open darcyliu/storyboard/boto/rds/parametergroup.py/Parameter._set_string_value/swapped operands of `not in`