<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_writer(self, name, *args, **kwargs):
 """Create a new writer instance for a given format."""

        self._check_format(name)
        return self._formats[name]['writer'](*args, **kwargs)