// TODO: pull this method up to be used in other factories.
public static boolean isProvidedUserChoicesForNodeInstance(Map<String, List<Parameter<?>>> userChoices,
	        String nodeInstanceName) {
		if (userChoices == null || userChoices.isEmpty())
			return false;
		List<Parameter<?>> paramsForNodeInstance = userChoices.get(nodeInstanceName);
		if (paramsForNodeInstance == null || paramsForNodeInstance.isEmpty())
			return false;
		return true;
	}
public static boolean isProvidedUserChoicesForNodeInstance(Map<String, List<Parameter<?>>> userChoices,
String nodeInstanceName) {
if (userChoices == null || userChoices.isEmpty())
return false;
List<Parameter<?>> paramsForNodeInstance = userChoices.get(nodeInstanceName);
if (paramsForNodeInstance == null || paramsForNodeInstance.isEmpty())
return false;
return true;
}
public static boolean isProvidedUserChoicesForNodeInstance(Map<String, List<Parameter<?>>> userChoices,
String nodeInstanceName) {
if (userChoices == null || userChoices.isEmpty())
return false;
List<Parameter<?>> paramsForNodeInstance = userChoices.get(nodeInstanceName);
if (paramsForNodeInstance == null || paramsForNodeInstance.isEmpty())
return false;
return true;
}
public static boolean isProvidedUserChoicesForNodeInstance(Map<String, List<Parameter<?>>> userChoices,
String nodeInstanceName) {
if (userChoices == null || userChoices.isEmpty())
return false;
List<Parameter<?>> paramsForNodeInstance = userChoices.get(nodeInstanceName);
if (paramsForNodeInstance == null || paramsForNodeInstance.isEmpty())
return false;
return true;
}