code: def _setCurrentRecord(self, item, record):
          
          try:
              is_record = item.record() == record
          except:
              is_record = False
          
          if is_record:
              self.setCurrentItem(item)
              return True
          
          for c in range(item.childCount()):
              if self._setCurrentRecord(item.child(c), record):
                  return True
          
          return False
docs: Sets the current record for this tree to the inputed record.
          
          :param      item   | <QTreeWidgetItem>
                      record | <orb.Table>