docstr: Returns true if this item is the end of a new group,
  where groups mean that some attribute has changed.  The getter
  can be None (the item itself changes), an attribute name like
  ``'.attr'``, a function, or a dict key or list index.
docstr_tok: ["Returns","true","if","this","item","is","the","end","of","a","new","group",",","where","groups","mean","that","some","attribute","has","changed",".","The","getter","can","be","None","(","the","item","itself","changes",")",",","an","attribute","name","like","``","'.attr","'","``",",","a","function",",","or","a","dict","key","or","list","index","."]
code: def last_group(self, getter=None):
      """
      Returns true if this item is the end of a new group,
      where groups mean that some attribute has changed.  The getter
      can be None (the item itself changes), an attribute name like
      ``'.attr'``, a function, or a dict key or list index.
      """
      if self.last:
          return True
      return self._compare_group(self.item, self.__next__, getter)
  
imports: import sys
  from Cython.Tempita.compat3 import basestring_
label_desc: Use image node_id 14 for calling the loop_pos obj's underlying member method code with example usage: obj.last_group(getter) and returns: self, True