def add_subscription(self, subscription: Subscription):
    for objects in self.subscriptions:
        if (objects.id == subscription.id):
            return
    self.subscriptions.append(subscription)
def add_subscription(self, subscription: Subscription):
    for objects in self.subscriptions:
        if (objects.id == subscription.id):
            return
    self.subscriptions.append(subscription)