code: @Exported
      public boolean hasUpdates() {
          Data data = getData();
          if(data==null)      return false;
          
          for (PluginWrapper pw : Jenkins.getInstance().getPluginManager().getPlugins()) {
              if(!pw.isBundled() && pw.getUpdateInfo()!=null)
                  // do not advertize updates to bundled plugins, since we generally want users to get them
                  // as a part of jenkins.war updates. This also avoids unnecessary pinning of plugins. 
                  return true;
          }
          return false;
      }
docs: Does any of the plugin has updates?