def METHOD_NAME(self, column, value, role=Qt.ItemDataRole.EditRole):
    if role != Qt.ItemDataRole.EditRole or value == self.data(column, role):
        return False
    if self.alternative_id is not None:
        return False
    if column == 0:
        alternative_id_list = list(self.parent_item.alternative_id_list)
        alternative_id_list.append(value)
        db_item = {"id": self.parent_item.id, "alternative_id_list": alternative_id_list}
        self.db_mngr.set_scenario_alternatives({self.db_map: [db_item]})
    return True