def delete_bookmark(self, bookmark: int, delete_it: bool) -> None:
        """Delete a given bookmark.

        Args:
            bookmark: The bookmark to delete.
            delete_it: Should it be deleted?
        """
        if delete_it:
            del self._bookmarks[bookmark]
            self._bookmarks_updated()
Delete a given bookmark.

        Args:
            bookmark: The bookmark to delete.
            delete_it: Should it be deleted?
        
frogmouth/widgets/navigation_panes/bookmarks.py