code: def create_module_bookmark_actions(parent, bookmarks):
      
      actions = []
      for key, url, title in bookmarks:
          # Create actions for scientific distros only if Spyder is installed
          # under them
          create_act = True
          if key == 'winpython':
              if not programs.is_module_installed(key):
                  create_act = False
          if create_act:
              act = create_bookmark_action(parent, url, title)
              actions.append(act)
      return actions
docs: Create bookmark actions depending on module installation:
      bookmarks = ((module_name, url, title), ...)