code: func (l *KeyLocation) Contains(key []byte) bool {
  	return bytes.Compare(l.StartKey, key) <= 0 &&
  		(bytes.Compare(key, l.EndKey) < 0 || len(l.EndKey) == 0)
  }
docs: // Contains checks if key is in [StartKey, EndKey).