In additon to elisolution's solution higher than, this also checks regardless of whether we are literally on the house website page (not merely whether the canonical was established or not). I analyzed this Answer a little bit and as far as I am able to see, it really works as expected. https://topsocialplan.com/story4737256/the-5-second-trick-for-hreflang-tags-wordpress