Return a boolean indicating whether given index exists.