boolean (Element element) { for (Element plugin : element.getChildren("requiredPlugin")) { if (!PluginManagerCore.isPluginInstalled(PluginId.getId(plugin.getTextTrim()))) { return false; } } return true; }