code: func leveldbIsCorrupted(err error) bool {
  	switch {
  	case err == nil:
  		return false
  
  	case errors.IsCorrupted(err):
  		return true
  
  	case strings.Contains(err.Error(), "corrupted"):
  		return true
  	}
  
  	return false
  }
docs: // A "better" version of leveldb's errors.IsCorrupted.