def METHOD_NAME(self, path: Optional[Gtk.TreePath]) -> Optional[Gtk.TreeIter]:
    if path is None:
        return None
    try:
        return self.liststore.METHOD_NAME(path)
    except ValueError:
        return None