Any function to check for homepage??

I'm looking for any Elgg function similar to this WordPress function:

<?php is_home(); ?>

I need to check for the homepage like this:

<?php if (is_home()) {

But I don't know how.