public static boolean atMostOneOf(boolean... values) {
		return numberOfTrues(values) <= 1;
	}
Return true when 0 or 1 boolean are true, false otherwise.
spring-xd-module-spi/src/main/java/org/springframework/xd/module/options/validation/Exclusives.java