def hasValue(self, key: str, value: Any) -> bool: """Chekc value is in this map.""" _set = self._map.get(key, list()) return value in _set