def get_plugin_updates_available(raise_error=False):
 if (not has_external_plugins()):
  return None
 display_plugins = read_available_plugins(raise_error=raise_error)
 if display_plugins:
  update_plugins = filter(filter_upgradeable_plugins, display_plugins)
  if (len(update_plugins) > 0):
   return update_plugins
 return None

def get_plugin_updates_available ( raise_error = False ) : if ( not has_external_plugins ( ) ) : return None display_plugins = read_available_plugins ( raise_error = raise_error ) if display_plugins : update_plugins = filter ( filter_upgradeable_plugins , display_plugins ) if ( len ( update_plugins ) > 0 ) : return update_plugins return None
api exposed to read whether there are updates available for any of the installed user plugins .