private boolean isOnlyProviderOfService(Class<?> serviceClass) {
		// Returns true if this Plugin instance is the only active plugin that provides
		// the specified service.

		if (tool == null) {
			return false;
		}
		Object[] activeServiceInstances = tool.getServices(serviceClass);
		int count = 0;
		for (ServiceInterfaceImplementationPair myService : services) {
			if (myService.interfaceClass == serviceClass) {
				count++;
			}
		}
		// if count == activeServiceInstances.length, then we are the one providing the service
		return activeServiceInstances.length != 0 && activeServiceInstances.length == count;
	}
Returns the combination of required and non-required used services.

@return union of the lists of required and non-required used services.
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/Plugin.java