code: def reftrack_uptodate_data(rt, role):
      
      uptodate = rt.uptodate()
      if role == QtCore.Qt.DisplayRole or role == QtCore.Qt.EditRole:
          if uptodate:
              return "Yes"
          else:
              return "No"
      if role == QtCore.Qt.ForegroundRole:
          if uptodate:
              return QtGui.QColor(*UPTODATE_RGB)
          elif rt.status():
              return QtGui.QColor(*OUTDATED_RGB)
docs: Return the data for the uptodate status
  
      :param rt: the :class:`jukeboxcore.reftrack.Reftrack` holds the data
      :type rt: :class:`jukeboxcore.reftrack.Reftrack`
      :param role: item data role
      :type role: QtCore.Qt.ItemDataRole
      :returns: data for the uptodate status
      :rtype: depending on role
      :raises: None