code: def _mib_register(ident, value, the_mib, unresolved):
      
      if ident in the_mib or ident in unresolved:
          return ident in the_mib
      resval = []
      not_resolved = 0
      for v in value:
          if _mib_re_integer.match(v):
              resval.append(v)
          else:
              v = fixname(plain_str(v))
              if v not in the_mib:
                  not_resolved = 1
              if v in the_mib:
                  v = the_mib[v]
              elif v in unresolved:
                  v = unresolved[v]
              if isinstance(v, list):
                  resval += v
              else:
                  resval.append(v)
      if not_resolved:
          unresolved[ident] = resval
          return False
      else:
          the_mib[ident] = resval
          keys = list(unresolved)
          i = 0
          while i < len(keys):
              k = keys[i]
              if _mib_register(k, unresolved[k], the_mib, {}):
                  del(unresolved[k])
                  del(keys[i])
                  i = 0
              else:
                  i += 1
  
          return True
docs: Internal function used to register an OID and its name in a MIBDict