Payload of live and draft

Is there a way to send a payload from the workflow block that allows me to see if it is currently in draft or live? I want to create a development and a production environment and this would be very helpful to differentiate the two.