def METHOD_NAME(self):
    label = "add_to_team"
    def action(params, items):
        org = params["org"]
        team = params["team"]
        missing_users = False
        quay_api = self.quay_api_store[org]["api"]
        for member in items:
            logging.info([label, member, org, team])
            user_exists = quay_api.user_exists(member)
            if user_exists:
                if not self.dry_run:
                    quay_api.add_user_to_team(member, team)
            else:
                missing_users = True
                logging.error(f"quay user {member} does not exist.")
        # This will be evaluated by AggregatedDiffRunner.run(). The happy
        # case is to return True: no missing users
        return not missing_users
    return action