If you want to check whether the coupon is enabled or not in woocommerce programmatically then place the following code in you file wherever you want!.
if ( WC()->cart->coupons_enabled() )
{
echo "Enabled";
}
else
{
echo "Disabled";
}
Have any doubt, then comment here!