code: def as_dict(self):
          
          out = dict({})
          for key in self.keys():
              if self._has_delimiter(key):
                  pk, ck = key.split(self._delimiter, 1)
                  if self._has_delimiter(ck):
                      ck = ck.split(self._delimiter, 1)[0]
                  if isinstance(self._values[pk], FlatDict) and pk not in out:
                      out[pk] = dict()
                  if isinstance(self._values[pk][ck], FlatDict):
                      out[pk][ck] = self._values[pk][ck].as_dict()
                  else:
                      out[pk][ck] = self._values[pk][ck]
              else:
                  out[key] = self._values[key]
          return out
docs: Return the :class:`~flatdict.FlatDict` as a :class:`dict`
  
          :rtype: dict