code: def hmset(self, hashkey, value):
          
  
          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
docs: Emulate hmset.