In additon to elisolution's respond to earlier mentioned, this also checks whether or not we are literally on the home website page (not just if the canonical was set or not). I analyzed this Answer a little bit and as far as I'm able to see, it really works as envisioned. https://meshbookmarks.com/story19259858/rumored-buzz-on-hreflang-canonical