return extensions != null && extensions.contains(pluginKey);
}
public void addGlobalExtension(String pluginKey)
{
final PluginSettings pluginSettings = getPluginSettings();
final String accessKey = createAccessKey("globalExtensions");
List<String> extensions = (List<String>) pluginSettings.get(accessKey);
if (extensions == null)
{
extensions = new ArrayList<String>();
}
extensions.add(pluginKey);
pluginSettings.put(accessKey, extensions);
}