code: func (s *Store) IndexExists(tx *bolt.Tx, typeName, indexName string) bool {
  	return (tx.Bucket(indexBucketName(typeName, indexName)) != nil)
  }
docs: // IndexExists tests if an index exists for the passed in field name