title: How to check that we are not in a Woocommerce endpoint
body: <p>since WooCommerce 2.1 pages such as order-received has been removed and replaced with WC endpoints. My checkout page had a custom page template (page-checkout.php) and now all checkout endpoints are also using this custom page template.</p>
  
  <p>I need to modify my header and footer only when my customers are in the /checkout/ page, but I want to show different content when they are in a checkout endpoints. I have found this conditional:</p>
  
  <pre><code>if(is_wc_endpoint_url("order-received")) echo "yes";
  </code></pre>
  
  <p>It works when we are in the "order-received" checkout endpoint. But I am looking for a conditional logic that tells me when we are not in an endpoint, something like:</p>
  
  <pre><code>if(!is_wc_endpoint()) echo "yes";
  </code></pre>
  
  <p>Thank you.</p>