code: def last(self):
      if self._cached_last is not None:
          return self._cached_last
  
      last = None
      for element in self._set:
          if last is None or self._key(last) < self._key(element):
              last = element
      self._cached_last = last
      return last
  
file_path: kafka-python/kafka/coordinator/assignors/sticky/sorted_set.py
label_desc: Use image node_id 3 for calling the SortedSet obj's underlying member method code with example usage: obj.last() and returns: last, self