def METHOD_NAME(self, *args, **options):
    sys.stdout.write("Syncing hubspot ids...\n")
    if not (
        options["sync_contacts"]
        or options["sync_products"]
        or options["sync_deals"]
    ):
        # If no flags are set, sync everything
        self.sync_all()
    else:
        # If some flags are set, sync the specified models
        if options["sync_contacts"]:
            self.sync_contacts()
        if options["sync_products"]:
            self.sync_products()
        if options["sync_deals"]:
            self.sync_deals()
    sys.stdout.write("Hubspot id sync complete\n")