func (m *safeMap) Check(k interface{}) bool {
	m.lock.RLock()
	defer m.lock.RUnlock()
	if _, ok := m.sm[k]; ok {
		return true
	}
	return false
}
// Check returns true if k is exist in the map.
Check returns true if k is exist in the map.
// Check returns true if k is exist in the map .
func (m *safeMap) Check(k interface{}) bool {
	m.lock.RLock()
	defer m.lock.RUnlock()
	if _, ok := m.sm[k]; ok {
		return true
	}
	return false
}
func ( m * safeMap ) Check ( k interface { } ) bool { m . lock . RLock ( ) defer m . lock . RUnlock ( ) if _ , ok := m . sm [ k ] ; ok { return true } return false }
Check returns true if k is exist in the map.
Check returns true if k is exist in the map .