def ensure_stream(realm: Realm, stream_name: str, invite_only: bool=False, stream_description: str='', acting_user: Optional[UserProfile]=None) -> Stream:
    return create_stream_if_needed(realm, stream_name, invite_only=invite_only, stream_description=stream_description, acting_user=acting_user)[0]
def ensure_stream(realm: Realm, stream_name: str, invite_only: bool=False, stream_description: str=, acting_user: Optional[UserProfile]=None) -> Stream:
    return create_stream_if_needed(realm, stream_name, invite_only=invite_only, stream_description=stream_description, acting_user=acting_user)[0]