code: def base(self, value, recurse=True):
          
          while value in self._bases:
              value = self._bases[value]
              if not recurse:
                  break
          return value
docs: Returns the root base for the given value from this enumeration.
          
          :param      value   | <variant>
                      recurse | <bool>