Retrieving the product published field Within a node template I can retrieve the status of the published flag by calling the code: node.isPublished()

How do I retrieve the status of the published flag within a commerce product... 

I've tried:

product.isPublished()
product.status
product.published


But I can't seem to get it to print. I've tried to look through the core code where status seems to be the key, but no luck, plus api.drupalcommerce.org is down.

Any advice?

Thanks in advance
{% if product_entity.status.value == 0 %}
  {%
    set classes = [
    'is-unpublished'
    ]
  %}
{% endif %}
&lt;article{{ attributes.addClass(classes) }}&gt;
..
&lt;/article&gt;