code: def _get_grps_n_codes(self, usr_set):
          
          codes = usr_set.intersection(self.code2nt)
          for grp in usr_set.intersection(self.grp2codes):
              codes.update(self.grp2codes[grp])
          return codes
docs: Get codes, given codes or groups.