def get_config(self, copy=True) -> Union[Config, Dict]:
        """
        Return self._config
        :param copy:
        :return: a copy of config dict
        """
        if copy:
            return self._config.copy()
        return self._config

        Return self._config
        :param copy:
        :return: a copy of config dict
        
metadrive/base_class/configurable.py