<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_stream(name, **header):
 """Create a stream for publishing messages. All keyword arguments will be used to form the header. """

    assert isinstance(name, basestring), name
    return CreateStream(parent=None, name=name, group=False, header=header)