code: def _handle_config(self, config_file):
          
          config = self._get_config(config_file)
  
          self.resolver = DatabaseManager(
              config.get("databases", config.get("DATABASES", {}))
          )
  
          return True
docs: Check and handle a config file.
  
          :param config_file: The path to the config file
          :type config_file: str
  
          :rtype: bool