private boolean isMappingExitSpace(Element step) {
			NodeList children = step.getChildNodes();
			for (int c = 0; c < children.getLength(); c++) {
				String nodeName = children.item(c).getNodeName();
				if (nodeName.equals("next") || nodeName.equals("end") || nodeName.equals("fail")) {
					return true;
				}
			}
			return false;
		}
Determine if a step element has any &lt;next.../&gt; elements. If it does then
it is mapping the exit space from this step.
@param step the XML element representing the step
@return true if the supplied step specifies any transitions via next elements
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/job/dsl/JobSpecification.java