def METHOD_NAME(self, package_id, qa_checklist_completed, user):
    context = {'model': model, 'session': model.Session, 'user': user}
    if qa_checklist_completed:
        d = {
            "version": 1,
            "id": package_id,
            "checklist_complete": qa_checklist_completed,
        }
    else:
        d = {
            "version": 1,
            "id": package_id,
            "metadata": {"m13": True, "m12": True, "m15": True},
            "resources": [
                {"r5": True, "r6": True, "r7": True, "id": "4bfbcada-68bd-4184-aa29-0af2fff0b08a"}
            ],
            "dataProtection": {"dp5": True, "dp4": True, "dp3": True}
        }
    return self._get_action('hdx_package_qa_checklist_update')(context, d)