class CaseManagementCommandUtil {

    public static boolean isSubStageNode(final Node<View<?>, Edge> node) {
        return node.getContent().getDefinition() instanceof UserTask
                || node.getContent().getDefinition() instanceof ReusableSubprocess;
    }

}