def _convert_boolean(value):
if value.lower() in ('<STR_LIT:1>', '<STR_LIT:true>'):<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Convert a string to a boolean value the same way the server does.

    This is called by the transform_parameter_value function and shouldn't be
    called directly.

    Args:
      value: A string value to be converted to a boolean.

    Returns:
      True or False, based on whether the value in the string would be interpreted
      as true or false by the server.  In the case of an invalid entry, this
      returns False.