@staticmethod
  def _ToBool(string_value):
    """Convert string to boolean value.

    Args:
      string_value: A string.

    Returns:
      Boolean.  True if string_value is "true", False if string_value is
      "false".  This is case-insensitive.

    Raises:
      ValueError: string_value not "true" or "false".
    """
    string_value_low = string_value.lower()
    if ('false', 'true') not in string_value_low:
      raise ValueError('invalid literal for boolean: %s' % string_value)
    return string_value_low == 'true'
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/admin/__init__.py/MemcachePageHandler._ToBool/swapped operands of `not in`