validateFlowDefinition

Validates the definition of a flow.