func (m *SortedDictionary[KT, VT]) Contains(k KT) bool {
	m.lock.RLock()
	defer m.lock.RUnlock()
	if _, ok := m.search(k); ok {
		return true
	}
	return false
}
// Contains returns true if the dictionary contains the key.
Contains returns true if the dictionary contains the key.
// Contains returns true if the dictionary contains the key .
func (m *SortedDictionary[KT, VT]) Contains(k KT) bool {
	m.lock.RLock()
	defer m.lock.RUnlock()
	if _, ok := m.search(k); ok {
		return true
	}
	return false
}
func ( m * SortedDictionary [ KT , VT ] ) Contains ( k KT ) bool { m . lock . RLock ( ) defer m . lock . RUnlock ( ) if _ , ok := m . search ( k ) ; ok { return true } return false }
Contains returns true if the dictionary contains the key.
Contains returns true if the dictionary contains the key .