In additon to elisolution's solution higher than, this also checks no matter if we are actually on the house page (not simply if the canonical was established or not). I analyzed this Answer a bit and so far as I'm able to see, it really works as envisioned. Otherwise, be sure https://www.hrms-systems.com