def to_dict(self):
return self._base(<EOL>(key, (value.to_dict() if isinstance(value, AutoDict) else value))<EOL>for key, value in self.items())<EOL>
Recursively casts a AutoDict into a regular dictionary. All nested
AutoDict values are also converted.

Returns:
    dict: a copy of this dict without autovivification

Example:
    >>> from ubelt.util_dict import AutoDict
    >>> auto = AutoDict()
    >>> auto[1] = 1
    >>> auto['n1'] = AutoDict()
    >>> static = auto.to_dict()
    >>> assert not isinstance(static, AutoDict)
    >>> assert not isinstance(static['n1'], AutoDict)