title: Detect dashboard of WooCommerce "my account" pages
body: <p>How can I detect if the "myaccount/my-account.php" template is used on the Dashboard.</p>
  
  <p>Currently I use:</p>
  
  <pre><code>&lt;?php
      global $wp;
      if ( !isset($wp-&gt;query_vars['page']) ) {
  ?&gt;
      &lt;a href="/mein-konto/"&gt;Back to my Account&lt;/a&gt;
  &lt;?php } ?&gt;
  
  &lt;div class="myaccount_content"&gt;
      &lt;?php
          do_action( 'woocommerce_account_content' );
      ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>But that feels kind of hacky. Isn't there something like a <code>is_myaccount_dashboard()</code> function?</p>