def METHOD_NAME(self, context):
    for instance in context:
        # Check if instance is a review by checking its family
        # Allow a match to primary family or any of families
        families = set(
            [instance.data["family"]] + instance.data.get("families", [])
        )
        if "review" not in families:
            continue
        kitsu_task = instance.data.get("kitsu_task")
        if not kitsu_task:
            continue
        # Get note status, by default uses the task status for the note
        # if it is not specified in the configuration
        shortname = kitsu_task["task_status"]["short_name"].upper()
        note_status = kitsu_task["task_status_id"]
        # Check if any status condition is not met
        allow_status_change = True
        for status_cond in self.status_change_conditions[
            "status_conditions"
        ]:
            condition = status_cond["condition"] == "equal"
            match = status_cond["short_name"].upper() == shortname
            if match and not condition or condition and not match:
                allow_status_change = False
                break
        if allow_status_change:
            # Get families
            families = {
                instance.data.get("family")
                for instance in context
                if instance.data.get("publish")
            }
            # Check if any family requirement is met
            for family_requirement in self.status_change_conditions[
                "family_requirements"
            ]:
                condition = family_requirement["condition"] == "equal"
                for family in families:
                    match = family_requirement["family"].lower() == family
                    if match and not condition or condition and not match:
                        allow_status_change = False
                        break
                if allow_status_change:
                    break
        # Set note status
        if self.set_status_note and allow_status_change:
            kitsu_status = gazu.task.get_task_status_by_short_name(
                self.note_status_shortname
            )
            if kitsu_status:
                note_status = kitsu_status
                self.log.info("Note Kitsu status: {}".format(note_status))
            else:
                self.log.info(
                    "Cannot find {} status. The status will not be "
                    "changed!".format(self.note_status_shortname)
                )
        # Get comment text body
        publish_comment = instance.data.get("comment")
        if self.custom_comment_template["enabled"]:
            publish_comment = self.format_publish_comment(instance)
        if not publish_comment:
            self.log.debug("Comment is not set.")
        else:
            self.log.debug("Comment is `{}`".format(publish_comment))
        # Add comment to kitsu task
        self.log.debug(
            "Add new note in tasks id {}".format(kitsu_task["id"])
        )
        kitsu_comment = gazu.task.add_comment(
            kitsu_task, note_status, comment=publish_comment
        )
        instance.data["kitsu_comment"] = kitsu_comment