def METHOD_NAME(self) -> None:
    resp = self.zulip_client.get_subscriptions()
    if resp["result"] != "success":
        print("ERROR: {}".format(resp["msg"]))
        exit(1)
    subs = [s["name"] for s in resp["subscriptions"]]
    if self.stream not in subs:
        print(
            "The bot is not yet subscribed to stream '%s'. Please subscribe the bot to the stream first."
            % (self.stream,)
        )
        exit(1)