Check current url and return true if it is Home page.
App::Config()->getServerInfo();
This method compare the URL with Boot Router configuration.
See bellow example:
$flag = App::Config()->isHomePage();
See also: Setting setSiteInfo siteInfo System Definition MVC (Model View Controller)