code: def first_key(res):
      
      if not isinstance(res, dict):
          raise ValueError('Value should be of dict type')
  
      if len(res.keys()) != 1:
          raise RedisClusterException("More then 1 result from command")
  
      return list(res.values())[0]
docs: Returns the first result for the given command.
  
      If more then 1 result is returned then a `RedisClusterException` is raised.