code: def _printUUID(uuid, detail='word'):
      
      if not isinstance(detail, int):
          detail = detailNum[detail]
  
      if detail > detailNum['word']:
          return uuid
  
      if uuid is None:
          return None
  
      return "%s...%s" % (uuid[:4], uuid[-4:])
docs: Return friendly abbreviated string for uuid.