def exists?(id=nil)
      request :head, id
      true
    rescue Stretcher::RequestError::NotFound => e
      false
    end
def exists?(id=nil)
      request :head, id
      true
    rescue Stretcher::RequestError::NotFound => e
      false
    end
Check if this index type is defined, if passed an id
 this will check if the given document exists