code: def canFetchMore(self, parentIndex):
          
          parentItem = self.getItem(parentIndex)
          if not parentItem:
              return False
  
          return parentItem.canFetchChildren()
docs: Returns true if there is more data available for parent; otherwise returns false.