Creates a condition with the provided list of values and operator.

def _CreateMultipleValuesCondition(self, values, operator):
    """Creates a condition with the provided list of values and operator."""
    values = ['"%s"' % value if isinstance(value, str) or
              isinstance(value, unicode) else str(value) for value in values]
    return '%s %s [%s]' % (self._field, operator, ', '.join(values))