private boolean usesNetwork(Message message, SoftwareSystem system) {
		try {
			Component sender = (Component) message.getSender();
			Component receiver = (Component) message.getReceiver();
			HardwareSet senderHS = null, receiverHS = null;
			for (DeployedComponent deployedComponent : system.getDeploymentAlternative().getDeployedComponents()) {
				if (deployedComponent.getComponent().equals(sender))
					senderHS = deployedComponent.getHardwareSet();
				if (deployedComponent.getComponent().equals(receiver))
					receiverHS = deployedComponent.getHardwareSet();
			}
			if (!system.getActuallyUsedHardwareSets().contains(senderHS))
				system.getActuallyUsedHardwareSets().add(senderHS);
			if (!system.getActuallyUsedHardwareSets().contains(receiverHS))
				system.getActuallyUsedHardwareSets().add(receiverHS);
			return (senderHS != null && receiverHS != null && !senderHS.equals(receiverHS));
		} catch (Exception e) {
		}
		return false;
	}