code: function parseBoolean(value, context) {
      if (value === true || value === 'true') return true;
      if (value === false || value === 'false') return false;
      throw new ImplementationError(`Invalid boolean value "${value}"${context.errorContext}`);
  }
docs: Parses "true", true, "false", false.
  
  @private