def evict(self, key):
        """
        Evicts the specified key from this map.

        **Warning: This method uses __hash__ and __eq__ methods of binary form of the key, not the actual implementations
        of __hash__ and __eq__ defined in key's class.**

        :param key: (object), key to evict.
        :return: (bool), ``true`` if the key is evicted, ``false`` otherwise.
        """
        check_not_none(key, "key can't be None")
        key_data = self._to_data(key)
        return self._evict_internal(key_data)
Evicts the specified key from this map.

        **Warning: This method uses __hash__ and __eq__ methods of binary form of the key, not the actual implementations
        of __hash__ and __eq__ defined in key's class.**

        :param key: (object), key to evict.
        :return: (bool), ``true`` if the key is evicted, ``false`` otherwise.