public boolean hasParent() {
        return StringUtils.isNotEmpty(parentWorkflowId);
    }
Convenience method for accessing the workflow definition version.

@return the workflow definition version.
core/src/main/java/com/netflix/conductor/model/WorkflowModel.java