def stream_name(stream: Optional[Stream]) -> Optional[str]:
    if (not stream):
        return None
    return stream.name
def stream_name(stream: Optional[Stream]) -> Optional[str]:
    if (not stream):
        return None
    return stream.name