In additon to elisolution's response above, this also checks regardless of whether we are literally on the home web page (not merely whether the canonical was established or not). I analyzed this Answer a little and so far as I am able to see, it really works as anticipated. Or else, https://bookmark-search.com/story19101815/not-known-factual-statements-about-prestashop-vs-opencart