Drupal6 how to hide primary navigation
There is drupal_is_front_page

Check if the current page is the front page.

Return value

Boolean value: TRUE if the current page is the front page; FALSE if otherwise.