boolean () { try { URL pluginURL = new URL(myPluginUrl); URL defaultPluginsHost = new URL(ApplicationInfoImpl.DEFAULT_PLUGINS_HOST); return pluginURL.getHost().equals(defaultPluginsHost.getHost()); } catch (MalformedURLException ignored) { return false; } }