'Returns true or false indicating whether or not a workflow has outputs defined.'

def has_outputs_defined(self):

    for step in self.steps:
        if step.workflow_outputs:
            return True
    return False
