[How To] Catch Workflow State Change - Event Trigger

Using before_workflow_action: () => {}
how will i validate false on some condition?