public boolean dependsUpon(Plugin plugin) {
		for (Class<?> c : pluginDescription.getServicesRequired()) {
			// If one of our required services is provided by a single Plugin,
			// then we depend on that Plugin.  If multiple provide, we are not dependent.
			if (plugin.isOnlyProviderOfService(c)) {
				return true;
			}
		}
		return false;
	}
Check if this plugin depends on the given plugin

@param plugin the plugin
@return true if this plugin depends on the given plugin
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/Plugin.java