In additon to elisolution's response earlier mentioned, this also checks whether we are actually on the home web site (not simply whether the canonical was set or not). I analyzed this Answer a little bit and so far as I am able to see, it really works as envisioned. Usually, remember https://socialimarketing.com/story4752200/5-simple-statements-about-automatyczne-tagi-hreflang-i-tagi-kanoniczne-seo-explained