def check_live_bookmarks(self):
        """Check if the bookmarks still exist.

        If not, the missing ones are removed.
        """
        ### if it is found that any path among the
        ### bookmarks doesn't exist, load the bookmark
        ### objects again with the existing ones only

        if any(path.is_dir() for path in self.existing_bookmarks):

            ## this not only updates the bookmark objects,
            ## but also has the side-effect of updating the
            ## json file too
            self.update_bookmarks()
Check if the bookmarks still exist.

        If not, the missing ones are removed.
        
nodezator/fileman/bookmarkpanel/main.py