Remove @internal from workflowHasData/workflowStateHasData and use those methods for access control and configuration validation.