In additon to elisolution's response over, 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 solution a little bit and in terms of I can see, it works as anticipated. If not, remember to https://sound-social.com/story9248834/the-ultimate-guide-to-hreflang-not-using-canonical