public static String labelOrEmpty(String label) {
		return (StringUtils.hasLength(label)) ? label + ":" : "";
	}
Returns a properly formatted label for a module in a stream definition.
@param label The label to be formatted.
@return If label is not empty nor null a properly formatted label for module else an empty string.
spring-xd-test-fixtures/src/main/java/org/springframework/xd/test/fixtures/util/FixtureUtils.java