def METHOD_NAME(self) -> None:
    if not self.mw.col.models.get(self._selected_notetype_id):
        self.selected_notetype_id = NotetypeId(
            self.mw.col.models.all_names_and_ids()[0].id
        )