I have a content type that has a reference to a webform. In the template for this content type, I'd like to check if the referenced webform is open or closed to conditionally display some content.
I have a
content.field_ballot, but this appears to just be a render array without access to the underlying webform settings.
Is it possible to access it through this reference? Or should I be investigating a different route?