<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _upload_config_content(self, configuration, rollbacked=False):
 """Will try to upload a specific configuration on the device."""

        try:
            for configuration_line in configuration.splitlines():
                self._device.cli(configuration_line)
            self._config_changed = True  # configuration was changed
            self._committed = False  # and not committed yet
        except (pyPluribus.exceptions.CommandExecutionError,
                pyPluribus.exceptions.TimeoutError) as clierr:
            if not rollbacked:
                # rollack errors will just trow
                # to avoid loops
                self.discard()
            raise pyPluribus.exceptions.ConfigLoadError("Unable to upload config on the device: {err}.\
                Configuration will be discarded.".format(err=clierr.message))
        return True