def hmset(self, hashkey, value):
        """Emulate hmset."""

        redis_hash = self._get_hash(hashkey, 'HMSET', create=True)
        for key, value in value.items():
            attribute = self._encode(key)
            redis_hash[attribute] = self._encode(value)
        return True