<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _CreateSingleValueCondition(self, value, operator):
 """Creates a single-value condition with the provided value and operator."""

    if isinstance(value, str) or isinstance(value, unicode):
      value = '"%s"' % value
    return '%s %s %s' % (self._field, operator, value)