Implement if property in https://github.com/serverlessworkflow/specification/blob/main/dsl-reference.md#task