Use the is_homepage property.