code: def is_retaincase(bunchdt, data, commdct, idfobject, fieldname):
      
      thiscommdct = getfieldcomm(bunchdt, data, commdct, idfobject, fieldname)
      return 'retaincase' in thiscommdct
docs: test if case has to be retained for that field